Skip to content

Commit caecbec

Browse files
committed
Minor tweak
1 parent 6780f23 commit caecbec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security/password_migration.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ password using the new hash. If you use a Guard authenticator, you first need to
125125
You can enable the upgrade behavior by implementing how this newly hashed
126126
password should be stored:
127127

128-
* `When using Doctrine's entity user provider <Upgrade the Password when using Doctrine>`_
129-
* `When using a custom user provider <Upgrade the Password when using a custom User Provider>`_
128+
* `When using Doctrine's entity user provider <Upgrade the Password when using Doctrine>`_
129+
* `When using a custom user provider <Upgrade the Password when using a custom User Provider>`_
130130

131131
After this, you're done and passwords are always hashed as secure as possible!
132132

@@ -150,7 +150,7 @@ for this login request. This password is used in the migration process::
150150

151151
public function getPassword($credentials): ?string
152152
{
153-
return $credentials['password'] ?? null;
153+
return $credentials['password'];
154154
}
155155
}
156156

0 commit comments

Comments
 (0)