-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
->passes() and ->fails() both return true simultaneously #45
Comments
calling ->passes() twice gives false on second result echo($captchaValidator->passes()); // true
echo($captchaValidator->passes()); // false (->fails() would be true here therefore) |
Humm, maybe by fault of laravel validator. I try test with I will try to ask the laravel/framework see why! Thanks for report! |
It's not Laravel validator. I ran tests outside Laravel and found that when you validate same response ('g-recaptcha-response') after initial success, all other attempts will return success false.
|
both return 1.
I can just check
->passes()
to get around it, but->fails()
should not return 1?maybe related to:
#38
thanks
j
The text was updated successfully, but these errors were encountered: