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 49e19c5 + 2e32449 commit 7219065Copy full SHA for 7219065
security/passwords.rst
@@ -219,7 +219,7 @@ After configuring the correct algorithm, you can use the
219
$plaintextPassword = ...;
220
221
// hash the password (based on the security.yaml config for the $user class)
222
- $hashedPassword = $passwordHasher->hash(
+ $hashedPassword = $passwordHasher->hashPassword(
223
$user,
224
$plaintextPassword
225
);
@@ -249,7 +249,7 @@ After configuring the correct algorithm, you can use the
249
250
251
// hash the password (based on the password hasher factory config for the $user class)
252
253
254
255
0 commit comments