Skip to content
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

Adding reCaptch to Login #44

Closed
helderneves91 opened this issue Sep 3, 2020 · 1 comment
Closed

Adding reCaptch to Login #44

helderneves91 opened this issue Sep 3, 2020 · 1 comment

Comments

@helderneves91
Copy link

helderneves91 commented Sep 3, 2020

Hello, this is not a bug.

I have implemented this package on a study project. I'm able to get keys from google, but how do I make the laravel login to validate de reCaptcha without messing with files in vendor folder?

I'm posting this because if I don't configure the proper domain, the login is successfull anyway.

Regards

@biscolab
Copy link
Owner

User login is handled by App\Http\Controllers\Auth\LoginController@login. This method calls validateLogin method supplied by AuthenticatesUsers trait. To add recaptcha to the login form you have to override validateLogin method in LoginController

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants