TurnerD
2 weeks ago
123
8
Laravel

Auth::login not working after a redirect

Posted 2 weeks ago by TurnerD

I'm manually logging in the user inside of the controller but after the redirect Auth::check() is false.

Controller: Auth::login($user);

return redirect()->route('dash.index');

Thanks in advance

Please sign in or create an account to participate in this conversation.