okcpilot Posted February 24, 2022 Report Posted February 24, 2022 I configured recaptcha in Google for my domain. I copied the site key and secret key into Blesta Admin and enabled it on the Client Login for testing. When I try to login to the client area, I am able to complete the recaptcha challenge and it gives the green checkbox, however when I click login I get the error "The captcha entered was invalid. Please try again." Blesta Version: 5.3.0 PHP Version: 7.4 (recommended php extensions are all installed) Error URL: https://REDACTED/client/login Quote
okcpilot Posted February 24, 2022 Author Report Posted February 24, 2022 Update: This is happening with the hCaptcha and internal captcha as well. Quote
Paul Posted February 25, 2022 Report Posted February 25, 2022 On 2/24/2022 at 8:15 AM, okcpilot said: Update: This is happening with the hCaptcha and internal captcha as well. Is your web server doing any caching/proxying? If the page is cached, then CSRF and captcha's will not work correctly. Quote
okcpilot Posted February 25, 2022 Author Report Posted February 25, 2022 4 minutes ago, Paul said: Is your web server doing any caching/proxying? If the page is cached, then CSRF and captcha's will not work correctly. Yep! I was running the portal through Cloudflare and it was being cached. Turned it off and now everything works. Much appreciated! Paul 1 Quote
Paul Posted February 26, 2022 Report Posted February 26, 2022 10 minutes ago, okcpilot said: Yep! I was running the portal through Cloudflare and it was being cached. Turned it off and now everything works. Much appreciated! Good to hear! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.