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

LoginController::validate does not exist. #6

Open
tabet-f opened this issue Mar 2, 2018 · 1 comment
Open

LoginController::validate does not exist. #6

tabet-f opened this issue Mar 2, 2018 · 1 comment

Comments

@tabet-f
Copy link

tabet-f commented Mar 2, 2018

there is no default validation in LoginController

@tabet-f
Copy link
Author

tabet-f commented Mar 2, 2018

I found the solution as of version 5.4 you should add to LoginController the following:

.....
use Illuminate\Foundation\Validation\ValidatesRequests;

class LoginController extends Controller
{
    use ValidatesRequests; 
  use AuthenticatesUsers;
// here also.......
}

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

No branches or pull requests

1 participant