How do I configure the user model to be something like "admin"
Looked over the docs, couldn't find it - wanting to use an Admin model, not User.
4 Replies
use a custom guard and tell filament about it
Awesome, thanks @justjosef π Easy as expected. hehe
Just Add to your panel service provider and add admin as guards in
config/auth
@msaidm too slow, alrady got the answer and resolved it π thanks tho
Hmmmm. actually this has ruined the login form π€ It's trying to post to a route that doesn't exist anymore.
Weird, just started working. That's really odd.