Sunday, May 21, 2017

customize redirection logged in user on /login route - laravel

I have a laravel application

login page is in route /login

there is a logged in user and clicks on a login button (or basically open URL /login)

application redirects the user to /home but I want to be redirected to /dashboard

I changed the redirect fields in Auth controllers to /dashboard. results when a user signs in, application redirects him to /dashboard but what about a logged in user?

I use laravel 5.4, thank you for helping



via reza

Advertisement