7 months ago

Auth scaffolding redirectTo doesn't work

Posted 7 months ago by Randy_91

Using the default laravel auth scaffolding in 5.8 in the LoginController theres a variable :

/** * Where to redirect users after login. * * @var string */ protected $redirectTo = '/home';

I have changed this to '/dashboard' yet it still redirects me to home.

How do I fix that?

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