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 cdfaff3 commit f096458Copy full SHA for f096458
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->encoderFactory->getEncoder($user)->isPasswordValid($user->getPassword(), $givenPassword, $user->getSalt())) {
+ if (!$this->encoder->isPasswordValid($user->getPassword(), $givenPassword, $user->getSalt())) {
73
throw new BadCredentialsException('The given password is invalid.');
74
75
0 commit comments