User and Admin panels?
Hi all,
First time using Filament so apologies if I’ve missed something obvious, I’d like two different panels one for regular users then another for admins but I’d like to use one login page. Is it possible? If so can you point me in the right direction
Thanks
3 Replies
I would just setup a custom login / auth routes. Then use middleware to direct them to the appropriate panel. You will need to make sure your gates/policies are setup appropriately though.
Someone else might have an easier way to do it, but that’s how I would do it.
I think realistically though separate logins make sense.
It’s a company intranet, so just for ease I’d prefer one login company wide. Thank you for the information
@awcodes sorry to tag, if I wanted to add another feature to my users resource called impersonate, how would I go about that? Custom page or?
There’s an impersonate plugin. Maybe that will do what you need.