Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: DEN35 on June 17, 2020, 10:30:45 AM

Title: ReCAPTCHA v2
Post by: DEN35 on June 17, 2020, 10:30:45 AM
SMF 2.1.0 RC 2 Registration ReCAPTCHA V2

The following errors were detected in your registration. Please correct them to continue:
Verification failed, invalid captcha value.
Title: Re: ReCAPTCHA v2
Post by: Arantor on June 17, 2020, 10:37:09 AM
Not sure what issue you're having here? Is this on your own site, someone else's site?
Title: Re: ReCAPTCHA v2
Post by: DEN35 on June 17, 2020, 10:54:54 AM
this is on my site. when turned on, registration does not work.
Title: Re: ReCAPTCHA v2
Post by: Arantor on June 17, 2020, 11:03:19 AM
Ok, so is it configured? Did you get v2 keys from Google and put them in the config? Got a link to your site?
Title: Re: ReCAPTCHA v2
Post by: DEN35 on June 17, 2020, 11:11:41 AM
yes configured no errors. but registration fails. even when I turn off standard captcha
Title: Re: ReCAPTCHA v2
Post by: live627 on June 17, 2020, 04:28:48 PM
do you have a registration question
Title: Re: ReCAPTCHA v2
Post by: charlottezweb on September 09, 2020, 07:18:49 PM
Sorry to dig up an old thread but I just learned my site is also getting this error.  I haven't had new bots/spammers register in awhile so I'm not sure when this started.

I validated that my recaptcha v2 keys are correct and they are working on other parts of my site external to SMF.

No SMF errors are being logged.

Has this been reported by others?  Not finding much on google specific to SMF.

Regards,
Jason

Title: Re: ReCAPTCHA v2
Post by: PoML on September 10, 2020, 04:54:44 AM
The issue is with a change on the API fromGoogle.
The new version is fixed in RC3, but unfortunately not released yet.

I have no new members on my forum for 6 months waiting for the release of RC3.
If you are brave, you can fix it by upgrading to the development version.
Title: Re: ReCAPTCHA v2
Post by: charlottezweb on September 10, 2020, 01:28:38 PM
Thank you for the info!

Regards,
Jason
Title: Re: ReCAPTCHA v2
Post by: dsanchez on September 10, 2020, 06:11:59 PM
happening to me as well, this is a major issue. can someone share what file/line of code needs to be updated to fix this?
Title: Re: ReCAPTCHA v2
Post by: Oldiesmann on September 10, 2020, 10:26:07 PM
Replace the files in the Sources/ReCaptcha folder with the ones from GitHub.
Title: Re: ReCAPTCHA v2
Post by: charlottezweb on September 12, 2020, 01:20:31 PM
Quote from: Oldiesmann on September 10, 2020, 10:26:07 PM
Replace the files in the Sources/ReCaptcha folder with the ones from GitHub.

That appears to have done the trick - Thank you!

Cheers,
Jason
Title: Re: ReCAPTCHA v2
Post by: Shambles on September 12, 2020, 01:58:49 PM
Quote from: DEN35 on June 17, 2020, 11:11:41 AM
yes configured no errors. but registration fails. even when I turn off standard captcha

Are you still having issues in this area?