RedirectIfAuthenticated
Aug 8, 2017 · 1 min read
#noteToSelf
In Laravel LoginController, the middleware guest is injected.
The middleware guestis a RedirectIfAuthenticated class. This class, from out of the box, redirect authenticated user to the home route.
You can change to any route you wish in /app/Http/Middleware/RedirectIfAuthenticated.php

