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
Yes, I’m using reCaptcha by BestWebSoft
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
Hey @ileiaeu,
I’m really happy to hear it’s working nicely now!
Wishing you all the best!
Mihai