Skip to content

Commit 6dc1ce0

Browse files
committed
minor #16375 fix Password Hasher php-standalone example (berbeflo)
This PR was merged into the 5.3 branch. Discussion ---------- fix Password Hasher php-standalone example the php-standalone example for Password Hasher had a configuration for User twice, while the comment and other examples indicated, the second should've been a configuration for PasswordAuthenticatedUserInterface Commits ------- 10bc1f2 fix Password Hasher php-standalone example
2 parents d634560 + 10bc1f2 commit 6dc1ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/passwords.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ optionally some *algorithm options*:
101101
User::class => ['algorithm' => 'auto'],
102102
103103
// auto hasher with custom options for all PasswordAuthenticatedUserInterface instances
104-
User::class => [
104+
PasswordAuthenticatedUserInterface::class => [
105105
'algorithm' => 'auto',
106106
'cost' => 15,
107107
],

0 commit comments

Comments
 (0)