Change redirect path after session expires
Hey Guys, I have got the redirect to work for manual logouts to go to /login instead of /filament/login. However if the users session expires it still takes them to /filament/login instead of /login.
Anyone point me in the right direction to change this behavior?
4 Replies
So, just add a redirect in web.php from filament/login to /login then it will cover all use cases.
@awcodes Thanks, I was doing some with middleware to try catch session expiry and redirect but this is cleaner.
I have a strange side effect where after session time out and a re-login, filament opens in an iframe, any ideas what might cause this?
It doesn't happen if we manually logout and log back in. for reference we are using Laravel's vue starter kit auth for sign in
Sorry, no clue. That sounds really weird though. Never used filament with vue, inertia etc.
@awcodes no worries, thanks!