How to use different Model for newly added panel for authentication
So I have usual Admin Panel and user auth setup,
and I want to add a new panel (manager) and use a separate Model for authentication,
is it possible to implement this in a straight forward manner as I need to do this on multiple projects.
Thanks,
Solution:Jump to solution
Do you mean that you want two different login systems, using two different models? That should work fine by simply configuring multiple Laravel guards in your config/auth.php file and then telling your each respective panel to use the separate guards.
https://filamentphp.com/docs/3.x/panels/users#authentication-features...
2 Replies
Solution
Do you mean that you want two different login systems, using two different models? That should work fine by simply configuring multiple Laravel guards in your config/auth.php file and then telling your each respective panel to use the separate guards.
https://filamentphp.com/docs/3.x/panels/users#authentication-features
Thanks