We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08889fb commit 4b6e7d2Copy full SHA for 4b6e7d2
security/passwords.rst
@@ -230,7 +230,7 @@ After configuring the correct algorithm, you can use the
230
$plaintextPassword = ...;
231
232
// hash the password (based on the security.yaml config for the $user class)
233
- $hashedPassword = $passwordHasher->hash(
+ $hashedPassword = $passwordHasher->hashPassword(
234
$user,
235
$plaintextPassword
236
);
@@ -260,7 +260,7 @@ After configuring the correct algorithm, you can use the
260
261
262
// hash the password (based on the password hasher factory config for the $user class)
263
264
265
266
0 commit comments