SonarSoftwareInc / customer_portal

A prebuilt customer portal for Sonar.
https://sonar.software
25 stars 52 forks source link

[BUG] password resets table name changes has password resets broken. #179

Open dcortez opened 3 weeks ago

dcortez commented 3 weeks ago

We have gotten reports of an issue with password resets and after looking at it, it appears someone added a commit to change the table for password resets from password_resets to password_reset_tokens. In May, another migration was added that changed the name back, but the config is still referencing the renamed table.

The fix is to simply modify the passwords.users.table config in the config/auth.php file to reference the original table name. I also suggest adding tests as a step for QA, so these simple changes aren't put into production by mistake.

-DC

dcortez commented 2 weeks ago

See PR #180