XF 2.0 New user registration Captcha doesnt appear

andybond

Well-known member
In Chrome V65.x when trying to register a new user using captcha ( with v2 or without ) the captcha box never appears to the guest trying to register

1522623750095.webp



With Internet Exploder and Edge the captcha appears as designed.

I have tested this on a unmodified template ( skin ) and modified. Both exibit the same behavoir 1522623886697.webp

1522623934630.webp

Applying a Q and A CAPTCHA displays correctly.

- Andy
 
I don't believe this to be a bug as generally reCAPTCHA seems to be working fine on all sites I've tested it on.

If you're using a custom site/secret key, then it might be worth removing those to see if the issues persist (that would rule out it being an issue with your own account).

Failing that, we'd need you to re-enable it so we can inspect the requests/console logs for the page when it doesn't appear to give us some more clues as to why it is failing for you.
 
Ok, I can reproduce the issue on your site. It seems to be trying to load this URL:

https://cors-anywhere.herokuapp.com...js?onload=XFReCaptchaCallback&render=explicit

Instead of this URL:

https://www.google.com/recaptcha/api.js?onload=XFReCaptchaCallback&render=explicit

For the reCAPTCHA script.

So it seems to be related to the cors-anywhere thing.

I'm not sure why it works on some browsers but not Chrome, and it also seems to work if you open Register in a new tab, rather than an overlay, but as this seems to be something you've added to the site rather than part of XF itself, I'm not sure how to advise you. If there's a way to switch it off, at least for that URL, then that'd be my advice, but I have no idea if that's possible.
 
Top Bottom