where can I set the redirect url after user logout?
when user logouts from the user menu in filament v3 dashboard it redirects the user to
/admin/login
page. is it possible to redirect the user to /login
page ?Solution:Jump to solution
finally I solved by naming the login redirect route :
```php
Route::get('/admin/login', function () {
return redirect()->to('login');
})->name('filament.admin.auth.login');...
4 Replies
Just setup a redirect in your web.php routes file.
Thank you for your reply. I tried it this way :
but it throws this error :
I also tried to create a view in this path:
resources/views/filament/admin/auth/login.blade.php
and this path :
resources/views/filament/pages/admin/auth/login.blade.php
but it does'nt work too.it works fine when I logout from home page but the problem is when I try to logout from
/admin
panelSolution
finally I solved by naming the login redirect route :