Route login not defined
I am not sure why I am getting this error, when I logout from Filament.
Solution:Jump to solution
Try this in your web.php ->
Route::get('/laravel/login', fn() => redirect(route('filament.auth.login')))->name('login');
4 Replies
because laravel expects a route with the name “login”. its dumb
you need to create a /laravel/login route that redirects to the filament login, and call it “login”
Hey, Dan! Can please write a sample of it here. Thanks.
have you tried?
Solution
Try this in your web.php ->
Route::get('/laravel/login', fn() => redirect(route('filament.auth.login')))->name('login');