Panel::loginRouteSlug not working
I am using
Am I doing this wrong?
->loginRouteSlug('sign-in') to direct Filament to use my already existing login page for authenticating instead of having its own, but it keeps giving me Route [login] not defined. error when I go to my panel. Am I doing this wrong?
Solution
The route slug is just the name of the path in the url. It’s still trying to find a route named ‘login’. You could probably just do a redirect in web.php from ‘admin/login’ to ‘/sign-in’