Guide to login in a panel with a user from my table
Hi,I'm trying to set filament in an already running app, and I already made a new user model,a new panel,and a new login page,I overwrite the form and getcredentials methods from the login, and it searches for the right columns but from another table, how can I fix this? And the way I'm doing it will work? I'm just beginning with Laravel and filament and still don't know how exactly works.
7 Replies
There's no mail column in your users table
I believe it would be more efficient to modify your user table structure to match the default Laravel user structure...
Yes,I know that,but the app already running is big and they don't want to change the DB
then adjust code to your current fields. the error is very clear
@krekas yeah, I'm trying but I can't seem to find the controller or how to change the auth,how does filament make the querys to find the users etc...
But you changed somehow from email to mail
Changing the get credentials from the login