Skip to content

Commit e1e7717

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Update security.rst
2 parents ce61879 + d2625cc commit e1e7717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ the database::
446446
$plaintextPassword = ...;
447447

448448
// hash the password (based on the security.yaml config for the $user class)
449-
$hashedPassword = $passwordHasher->hash(
449+
$hashedPassword = $passwordHasher->hashPassword(
450450
$user,
451451
$plaintextPassword
452452
);

0 commit comments

Comments
 (0)