I have a laravel application and i am learning it piece by piece. My question is the following:
Once a user logs in to the application, they are redirected to their respective dashboard. The problem is, when someone accidentally closes their browser, and they go to the website base url, it reloads the login page.
What I'd like to accomplish is if someone is logged in, if they go to the login page, which is actually / with a named route of mylogin, they get redirected to a different page.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire