File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -279,6 +279,7 @@ command will generate a nice skeleton to get you started::
279
279
280
280
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
281
281
use Symfony\Component\Security\Core\Exception\UserNotFoundException;
282
+ use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
282
283
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
283
284
use Symfony\Component\Security\Core\User\UserInterface;
284
285
use Symfony\Component\Security\Core\User\UserProviderInterface;
@@ -335,7 +336,7 @@ command will generate a nice skeleton to get you started::
335
336
/**
336
337
* Upgrades the encoded password of a user, typically for using a better hash algorithm.
337
338
*/
338
- public function upgradePassword(UserInterface $user, string $newEncodedPassword): void
339
+ public function upgradePassword(PasswordAuthenticatedUserInterface $user, string $newEncodedPassword): void
339
340
{
340
341
// TODO: when encoded passwords are in use, this method should:
341
342
// 1. persist the new password in the user storage
You can’t perform that action at this time.
0 commit comments