Logout Route

Is there a way to modify the default logout route? I just want to point it in the root url.
5 Replies
SmereKa
SmereKa3w ago
Yes You need override LogouteResponse
SmereKa
SmereKa3w ago
No description
SmereKa
SmereKa3w ago
Filament Examples
Filament Multiple Panels: Single Login Page for Admin/User Roles
Having multiple panels is excellent for separating users from other roles. However, managing each different login page can be tricky. So, let's make one login page for all panels and switch redirects based on roles.
Dhru
Dhru3w ago
https://filamentphp.com/content/tim-wassenburg-how-to-customize-logout-redirect here is a tutorial for your exact problem, I just implemented it and it works fine for me
Filament
How To Customize Logout Redirect by Tim Wassenburg - Filament
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
Resonance
ResonanceOP3w ago
Wow, thank you for your responses! For those that will stumble this kind of question again in the near future. This is the answer

Did you find this page helpful?