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 2e37fd5 commit 587c360Copy full SHA for 587c360
security.rst
@@ -426,10 +426,7 @@ the database::
426
$plaintextPassword = ...;
427
428
// hash the password (based on the security.yaml config for the $user class)
429
- $hashedPassword = $passwordHasher->hashPassword(
430
- $user,
431
- $plaintextPassword
432
- );
+ $hashedPassword = $this->passwordHasher->hash($plaintextPassword);
433
$user->setPassword($hashedPassword);
434
435
// ...
0 commit comments