You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project have captcha on two pages: default page (where user can sign-in) and registration page.
In default page captcha validation works correctly, but in registration page validation always fails.
I spent a lot of time to find out what is going on.
My solution is:
open vendor/mews/captcha/src/Captcha.php
Find check($value) function, in my case line:428
Comment this line: //$this->session->remove('captcha');
Profit
I don't know why, but after that captcha works correctly in both pages.
The text was updated successfully, but these errors were encountered:
i have this problem and i found the solution...when once you use captcha for example for login if you use captcha in another page session variable 'captcha' not clear and validation failed therefor i use
I'm using Laravel 5.7 and PHP 7.2.4
My project have captcha on two pages: default page (where user can sign-in) and registration page.
In default page captcha validation works correctly, but in registration page validation always fails.
I spent a lot of time to find out what is going on.
My solution is:
I don't know why, but after that captcha works correctly in both pages.
The text was updated successfully, but these errors were encountered: