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.
2 parents 09f0759 + fecc535 commit 2e32449Copy full SHA for 2e32449
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