Recaptcha Check not working

Monday, November 25, 2024 1:44:33 PM
  • Posted: Monday, July 20, 2020 9:30 AM
  • 82
Dear Patryk,

I enabled the recaptcha settings and unfortunately, recaptcha is not validated while submitting the form. The form gets submitted without ticking the "Version 2 Recaptcha"
0
  • Posted: Monday, July 20, 2020 10:38 AM
  • 953
Samson,

Please give us steps to reproduce the issue. Without them it would be hard to check the issue, we haven't noticed any problems with reCAPTCHA
Best regards,
Patryk

GrandNode Team
0
  • Posted: Monday, July 20, 2020 10:49 AM
  • 82
Dear Patryk,

Please check the steps I followed:
1. I have enabled the recaptcha from All Settings.
2. Added Private Key and Public key in All Settings.
3. Enabled Recaptcha  for Contact Us form.
4. Submitted form without ticking the recaptcha box.

Once submitted, recaptcha was not considered. Recaptcha was visible. But was not considered/validated during from submission. I am using GrandNode Version 4.6
0
  • Posted: Monday, July 20, 2020 10:55 AM
  • 953
Please check the console (under F12) for error logs or System -> Log. I've checked it on our 4.60 demo and without marked box, I've received "The reCAPTCHA response is invalid or malformed. Please try again." response.

By the way, it's better to configure Captcha on General Settings -> Under Security tab, instead of All Settings.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Monday, July 20, 2020 12:09 PM
  • Team
  • 152
0
  • Posted: Tuesday, September 1, 2020 4:02 PM
  • 14
I just want to check is this issue resolved or not
I have set this Recaptcha under General settings > Security settings and using version 2.0 but even before checking the   "I am not a robot" the submit button is enabled in the contact us page.
Then what is the use of Recaptcha here?
0
  • Posted: Wednesday, September 2, 2020 7:12 AM
  • 82
this issue is still happening for me too. No idea why. I have parked this issue now, as I am working on some other projects. Once I get into this , I shall update you .
0
  • Posted: Wednesday, September 2, 2020 7:18 AM
  • 953
As far as I know, we've solved this issue in the commit which Krzysztof added above. Please look there: https://github.com/grandnode/grandnode/commit/66860e9c4e8f46bdbd53403da4ed1b349740bd85#diff-ef7c5b2f2a4d5e3c9f3a068946b466db
Best regards,
Patryk

GrandNode Team
0
  • Posted: Wednesday, September 2, 2020 7:20 AM
  • 82
Thanks Patryk, I will check once again and let you know
0
  • Posted: Thursday, September 3, 2020 9:49 AM
  • 82
I figured out the issue with my site Captcha.
It was at the controller level==>Common Controller
Action name==>ContactUsSend

Validation didn't have  return if captcha fails.


            if (_captchaSettings.Enabled && _captchaSettings.ShowOnContactUsPage && !captchaValid)
            {
                ModelState.AddModelError("", _captchaSettings.GetWrongCaptchaMessage(_localizationService));
                return View(model);
            }
0
back to top
Filters