Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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

Open
andreybolonin wants to merge1 commit intosymfony:7.3
base:7.3
Choose a base branch
Loading
fromandreybolonin:patch-6

Conversation

andreybolonin
Copy link
Contributor

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

@@ -626,7 +626,7 @@ you must register a service for it in order to use it as a named hasher:
security:
# ...
password_hashers:
app_hasher:
App\Entity\User:
Copy link
Member

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 namedapp_hasher from a service [...]

@OskarStarkOskarStark changed the title[PasswordHasher] Update example of usage CustomPasswordHasher[PasswordHasher] Update example of usageCustomPasswordHasherJul 7, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz left review comments

@wouterjwouterjAwaiting requested review from wouterj

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@andreybolonin@javiereguiluz@wouterj@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp