-
-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/2.x demo release #37
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
base: 2.x
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on January 14
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
…s into feature/2.x-demo-release
| User::factory()->create([ | ||
| 'name' => $user, | ||
| 'email' => $email, | ||
| 'password' => Hash::make($password), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Password double-hashed causing user login failure
The User model has a 'password' => 'hashed' cast that automatically hashes passwords when set. The new user creation code calls Hash::make($password) before passing the password to the factory, causing the password to be hashed twice. This makes the password unusable since authentication will compare against a double-hashed value. The password should be passed as plain text (like in UserSeeder) and let the model's cast handle hashing automatically.
Aanpassingen die nodig zijn voor de demo.
Note
Installer now prompts to create a user, default seeded users and translation config generation are removed, and
MediaResourceis disabled in CMS resources.BackstageServiceProvider)backstage:install(hashes password).AUTH_MODELis appended to.env.database/seeders/BackstageSeeder.php,packages/core/database/seeders/BackstageSeeder.php)Userrecords; dropUserimport.packages/core/config/backstage/cms.php)Backstage\Resources\MediaResource::classfrom registered resources.Written by Cursor Bugbot for commit f64d612. This will update automatically on new commits. Configure here.