using users from my DB
Hi, I'm trying to implement a dashboard in a DB that's already done,I can't change the structure how do I manage to use the users I already got in my DB instead of using filament users per se.
I was thinking on rewriting the $table property on the user model but I don't know if it will work
5 Replies
There is no such thing as „Filament users“. Whatever works with Laravels auth will work with Filament.
If it’s just about a different table, changing the table name on the model would be the best solution
Okay,so I change the name of the table, I also need to change the name os attributes right? For example if my table hasn't got timestamps,or instead of email is "mail"
Which login page? I haven't made any yet, I'm trying to access the panel with the admin user I already got in my DB
Filament login page. You probably need to create your own one to define the attributes used for logging in. I don’t know the exact steps but I think you can find something via search