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

password_needs_rehash: Fix example #2786

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

TimWolla
Copy link
Member

The old example was broken, because the cost option is only valid for bcrypt, but not for argon2. Thus in case the default algorithm actually changes, the example would be broken.

Also update the example costs with 12 as per #2784.

The old example was broken, because the `cost` option is only valid for bcrypt,
but not for argon2. Thus in case the default algorithm actually changes, the
example would be broken.

Also update the example costs with 12 as per php#2784.
@Girgias Girgias merged commit c3dce34 into php:master Sep 22, 2023
2 checks passed
@TimWolla TimWolla deleted the password-needs-rehash-example branch October 18, 2023 14:17
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