Skip to content

Commit 3d7bdd2

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [DOC][SECURITY] Update passwords.rst
2 parents b567c81 + 5a95212 commit 3d7bdd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security/passwords.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,13 +518,13 @@ migration by returning ``true`` in the ``needsRehash()`` method::
518518
namespace App\Security;
519519

520520
// ...
521-
use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface;
521+
use Symfony\Component\PasswordHasher\PasswordHasherInterface;
522522

523-
class CustomPasswordHasher implements UserPasswordHasherInterface
523+
class CustomPasswordHasher implements PasswordHasherInterface
524524
{
525525
// ...
526526

527-
public function needsRehash(string $hashed): bool
527+
public function needsRehash(string $hashedPassword): bool
528528
{
529529
// check whether the current password is hashed using an outdated hasher
530530
$hashIsOutdated = ...;

0 commit comments

Comments
 (0)