Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document breaking change in password rehashing if custom password field #9901

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

sgilberg
Copy link
Contributor

I know I'm late to the game with my 11.x upgrade, but I came across what I think is an undocumented breaking change related to the password rehashing. I tested logging in after upgrade and got an exception Column not found: 1054 Unknown column 'password' in 'field list'. (Which is true - the app I'm upgrading uses a different field name for the password.) Based on the related documentation about the Authenticatable trait, I took a closer look at that trait and determined that if I defined $authPasswordName in my User model it fixed the issue. I adjusted the documentation on this in the upgrade guide to account for this possibility.

I also added the missing likelihood-of-impact for this subheading, which I'm calling "low" since most folks probably use the default 'password' field name.

sgilberg and others added 2 commits September 17, 2024 15:55
Also added missing likelihood-of-impact, which I'm calling "low" since most folks probably use the default 'password' field name.
@taylorotwell taylorotwell merged commit 05e97a8 into laravel:11.x Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants