File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ Upgrade the Password
120120Upon successful login, the Security system checks whether a better algorithm
121121is available to hash the user's password. If it is, it'll hash the correct
122122password using the new hash. If you use a Guard authenticator, you first need to
123- `provide the original password to the Security system <Provide the Password when using Guards >`_.
123+ `provide the original password to the Security system <Provide the Password when using Guard >`_.
124124
125125You can enable the upgrade behavior by implementing how this newly hashed
126126password should be stored:
@@ -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'];
153+ return $credentials['password'] ?? null ;
154154 }
155155 }
156156
You can’t perform that action at this time.
0 commit comments