mercredi 12 juin 2019

Laravel 5.8 Auth scaffolding redirectTo doesn't work

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?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire