Support the ongoing development of Laravel.io →
Laravel Authentication
0

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

1

You Check Your Route [/] is Missing. Add This Route And Try Again.

0

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Juan Lock juanlock Joined 12 Feb 2025

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.