• Resolved ileiaeu

    (@ileiaeu)


    Hi. 

    The affiliate-reset-password page does not work. it constantly requires captcha, although it is connected and working. 

    I have tried captcha from google and cloudflare – both of them cause the problem. If I disable captcha, I still get the error: 

    The reCaptcha verification failed. Please try again.

    What to do? 

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author iova.mihai

    (@iovamihai)

    Hey @ileiaeu,

    Thank you for reaching out! From the sounds of it, you have another reCAPTCHA feature enabled on your website, either through a standalone plugin or a reCAPTCHA feature of a certain plugin.

    Please check your site’s settings, if you have such a plugin/feature from a plugin, and let me know the name of the plugin in question.

    Thank you and best wishes,

    Mihai

    Thread Starter ileiaeu

    (@ileiaeu)

    Yes, I’m using reCaptcha by BestWebSoft

    Plugin Author iova.mihai

    (@iovamihai)

    Hey @ileiaeu,

    Thank you for letting me know this! I’ve just tested the way this plugin works, and this code snippet should help in this situation:

    function slicewp_custom_allow_password_reset_gglcptch_recaptcha( $allow ) {

    if ( ! isset( $_POST['slicewp_token'] ) ) {
    return $allow;
    }

    if ( ! wp_verify_nonce( $_POST['slicewp_token'], 'slicewp_send_reset_password_email' ) ) {
    return $allow;
    }

    if ( empty( slicewp_get_setting( 'enable_recaptcha' ) )
    && empty( slicewp_get_setting( 'enable_turnstile' ) )
    && empty( slicewp_get_setting( 'enable_hcaptcha' ) )
    ) {
    return $allow;
    }

    return true;

    }
    add_filter( 'allow_password_reset', 'slicewp_custom_allow_password_reset_gglcptch_recaptcha', 50 );

    Please copy the code and add it to your website. If you’re not sure how to add code snippets to your site, you can use the Code Snippets plugin (https://ww.wp.xz.cn/plugins/code-snippets/).

    Thank you and best wishes,

    Mihai

    Thread Starter ileiaeu

    (@ileiaeu)

    Thank you. It’s working.

    Plugin Author iova.mihai

    (@iovamihai)

    Hey @ileiaeu,

    I’m really happy to hear it’s working nicely now!

    Wishing you all the best!

    Mihai

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘reCaptcha verification failed’ is closed to new replies.