ronaldesc007 said:
Can you paste your routes.php content?
Route::get('auth/login', 'Auth\AuthController@getLogin'); Route::post('auth/login', 'Auth\AuthController@postLogin'); Route::get('auth/logout', 'Auth\AuthController@getLogout');
Not sure which laravel version are you using but if >5.1 check the following:
https://laravel.com/docs/5.1/authentication#included-authenticating
I understand that your login path is working and when you press login you get the error, according to documentation:
"When a user is not successfully authenticated, they will be redirected to the /auth/login"
So should start modifying/creating a $loginPath for unsuccessful login. And a $redirectPath for successful login and see if that solves the problem.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community