-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
[Bug]: reCaptcha rule definition #12
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
I added the captcha components to my login/register pages but I can currently create a new profile or log into an existing one without the need to verify the captcha. There is a step in the documentation( https://tastyigniter.com/docs/extensions/frontend ) which states:
Add recaptcha to your rules
$validator = Validator::make(request()->all(), [
...
'g-recaptcha-response' => 'recaptcha',
]);
Print form errors
$errors = $validator->errors();
I am unable to find the correct place to add this piece. Would appreciate any ideas.
What did you expect to happen?
Couldn’t find the existing request made by the Validator in order to add the reCaptcha element validation
Version
3.x
What browser are you seeing the problem on?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: