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.
No description
7 Replies
krekas
krekas3mo ago
There's no mail column in your users table
LeandroFerreira
LeandroFerreira3mo ago
I believe it would be more efficient to modify your user table structure to match the default Laravel user structure...
Barbaracrlp
Barbaracrlp3mo ago
Yes,I know that,but the app already running is big and they don't want to change the DB
krekas
krekas3mo ago
then adjust code to your current fields. the error is very clear
Barbaracrlp
Barbaracrlp3mo ago
@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...
krekas
krekas3mo ago
But you changed somehow from email to mail
Barbaracrlp
Barbaracrlp3mo ago
Changing the get credentials from the login