Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
[PasswordHasher] Update example of usageCustomPasswordHasher#21181
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:7.3
Are you sure you want to change the base?
Conversation
| # ... | ||
| password_hashers: | ||
| app_hasher: | ||
| App\Entity\User: |
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.
We'd need to also update the XML and PHP examples.
And, at the end of this section we have this, that should also be updated:
This creates a hasher named
app_hasherfrom a service [...]
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.
fixed
CustomPasswordHasherandreybolonin commentedJul 23, 2025
@javiereguiluz base branch should be 6.4? |
https://stackoverflow.com/questions/75624381/hash-passwords-in-md5-with-symfony-6-2
Only with this example I understand how to use custom password hashers, symfony docs is not very simple