Can't log in after converting user to have first_name and last_name
Hi. This is going to be really simple. I have done this before, but I can't for the life of me figure out what I have missed.
I spun up a fresh Laravel project, installed Filament, and could log in. I then amended the migration to have
When I try to log in, it just loops back to the login form.
I spun up a fresh Laravel project, installed Filament, and could log in. I then amended the migration to have
first_name and last_name and using UUIDS. Then amended the User model and added HasName and the function When I try to log in, it just loops back to the login form.
Solution
If I remember correctly the sessions table migration uses foreignId instead of foreignUuid