File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ Upgrade the Password
120
120
Upon successful login, the Security system checks whether a better algorithm
121
121
is available to hash the user's password. If it is, it'll hash the correct
122
122
password 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 >`_.
124
124
125
125
You can enable the upgrade behavior by implementing how this newly hashed
126
126
password should be stored:
@@ -150,7 +150,7 @@ for this login request. This password is used in the migration process::
150
150
151
151
public function getPassword($credentials): ?string
152
152
{
153
- return $credentials['password'];
153
+ return $credentials['password'] ?? null ;
154
154
}
155
155
}
156
156
You can’t perform that action at this time.
0 commit comments