F
Filament14mo ago
Augadh

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:
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...
Jump to solution
2 Replies
Solution
DrByte
DrByte14mo ago
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
Augadh
AugadhOP14mo ago
Thanks
Want results from more Discord servers?
Add your server