We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e13ef43 commit 94f2951Copy full SHA for 94f2951
security/custom_password_authenticator.rst
@@ -69,7 +69,7 @@ the user::
69
if ('' === ($givenPassword = $token->getCredentials())) {
70
throw new BadCredentialsException('The given password cannot be empty.');
71
}
72
- if (!$this->encoder->isPasswordValid($user->getPassword(), $givenPassword, $user->getSalt())) {
+ if (!$this->encoder->isPasswordValid($user, $givenPassword)) {
73
throw new BadCredentialsException('The given password is invalid.');
74
75
0 commit comments