Can't login into panel when user model use uuid
Hello i'm using uuid's on mi user model, I have configured all what is necessary to use it but I can't login, the credentials are correct, but it redirect to me to the login screen again, thanks for your help.
6 Replies
I encountered the same issue, all you have to do after updating the user model and migration is to also update the sessions table
user_id
column to be foreignUuid
instead of foreignId
.
Hope that helps.Is this in the documentation anyway? Might be worth adding if not, as I've struggled to find this solution until I searched the discord for "user uuid"
what was the solution?
It’s not really Filament related and I think it’s too advanced to be in the Laravel docs but you can try.
I get that, but I also wouldn't say it's uncommon that people change ID to be a uuid
you are a god man thanks