Replies: 1 comment
-
First, open config file in public array $redirects = [
'register' => '/',
'login' => '/admin',
'logout' => '/your-custom-url-here',
// ...
]; Make sure to use the default logout URL route provided by Shield, for example in your case: binary.localhost/logout if you use a custom logout route, add a redirect page to: $url = config('Auth')->logoutRedirect(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I access my application and I no longer have a login session, Shield will always redirect to the route with name login. Whereas I use a custom URL with the name auth.login or /auth/login
I think it is still possible to change the redirect according to the redirect config
Beta Was this translation helpful? Give feedback.
All reactions