• Resolved Tim in Seattle

    (@theframeguy)


    Using User Registration 1.8.5, on the Lost Password page, when the user submits their username to reset their password, they get the error: “You must submit the reCAPTCHA to proceed. Please try again.” This happens when reCAPTCHA is active for logins and when it is not active.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Tim in Seattle

    (@theframeguy)

    Follow up.

    I did some investigating and when I have reCAPTCHA deactivated, on the domain.com/my-account/ page, no reCAPTCHA code loads. BUT, when on the domain.com/my-account/lost-password/ page, the reCAPTCHA code below loads at the end of the HTML. Also, when reCAPTCHA is active, the reCAPTCHA code loads on both pages. I looked at the form-lost-password.php template and there seems to be no place for the reCAPTCHA box to load. So, is reCAPTCHA not supposed to be part of the password reset page? If so, why is the reCAPTCHA code loading at the bottom of the HTML on that page?

    
    <script type='text/javascript'>
    /* <![CDATA[ */
    var ur_google_recaptcha_code = {"site_key":"xxxx","site_secret":"xxxx","is_captcha_enable":"1","version":"v2"};
    /* ]]> */
    </script>
    <script type='text/javascript' src='https://www.google.com/recaptcha/api.js?onload=onloadURCallback&render=explicit&ver=2.0.0'></script>
    

    Hi @theframeguy,

    Sorry for the delayed response. I have divided your query into two parts.

    Regarding the first part about why the captcha error message appears when trying to reset the password, I have just tested it by enabling the Re-Captcha in my local test environment and it is working fine. It does not throw any error. Maybe it could be occurring because of the plugin conflict, so I would suggest you do the plugin conflict test once.
    Please deactivate all other plugins except User Registration and see if it works or not. If everything works fine then you can activate other plugins one after another and try resetting the password at the same time. This will let you know the cause behind the error.

    Regarding your other part about why captcha code is being loaded in the reset password page rather even if captcha is not being used there, I have checked it in my local environment and found the script there. I have asked the developer team about the reason behind it and I will share it with you after I hear from them.

    Let me know the result of first part and I will get back to you.
    Regards!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lost Password gives reCAPTCHA error’ is closed to new replies.