Admin Model instead of User model

Hi everyone,

I’ve just migrated my project from Filament v2 to v3 and I’m encountering an issue with authentication. Previously, I was using the FilamentUser trait on my custom Admin model, and everything worked fine. However, after the upgrade, it seems Filament is now defaulting to the User model for login.

In my application, I have separate tables for users and admins, and I need Filament to authenticate using the Admin model instead of User.

What’s the recommended approach to achieve this in Filament v3?

Thanks in advance!
Solution
The purge was the problem. Thank you for your time.
Was this page helpful?