the issues does not seem to be in your LoginController, make sure these default route exist and check authentication After Login
there is something something is being set correctly after the first attempt.
devsamaun liked this reply
As you can see you have used RouteServiceProvider::HOME
in your LoginController.
First, make sure you have a value set for HOME in RouteServiceProvider. Judging by your error, I assume you have set HOME='/'
.
Now you need to check for Route::get('/')...
or something like that in web.php. You probably have this route missing in your web.php. Please add it and then try.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community