File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Resources/skeleton/doctrine Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ public function __construct(ManagerRegistry $registry)
2929 /**
3030 * Used to upgrade (rehash) the user's password automatically over time.
3131 */
32- public function upgradePassword(<?= sprintf ('%s ' , $ password_upgrade_user_interface ->getShortName ()); ?> $user, string $newEncodedPassword ): void
32+ public function upgradePassword(<?= sprintf ('%s ' , $ password_upgrade_user_interface ->getShortName ()); ?> $user, string $newHashedPassword ): void
3333 {
3434 if (!$user instanceof <?= $ entity_class_name ?> ) {
3535 throw new UnsupportedUserException(sprintf('Instances of "%s" are not supported.', \get_class($user)));
3636 }
3737
38- $user->setPassword($newEncodedPassword );
38+ $user->setPassword($newHashedPassword );
3939 $this->_em->persist($user);
4040 $this->_em->flush();
4141 }
You can’t perform that action at this time.
0 commit comments