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

Fix StaffFactory default password #1806

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Conversation

wychoong
Copy link
Contributor

@wychoong wychoong commented Jun 6, 2024

for some reason when using the factory to create staff and actingAs in test, I'm getting Could not verify the hashed value's configuration error. For context I'm using Laravel 11 with default bcrypt rounds 12.

Changing it to use Hash::make('password') solved this issue, and it also align with Laravel's default UserFactory class's password

Copy link

vercel bot commented Jun 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2024 5:36pm

@alecritson alecritson merged commit f0a5920 into lunarphp:1.x Jun 7, 2024
22 checks passed
@wychoong wychoong deleted the patch-1 branch June 7, 2024 07:55
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