Compare commits

..

No commits in common. "769e7ed59e90b8448a5943873420cdffec18d366" and "890c44da0cdcd4bcb600734d8b86c5a03c2c111d" have entirely different histories.

1 changed files with 2 additions and 4 deletions

View File

@ -84,11 +84,9 @@ class SQLLoginUserAuthenticator extends AbstractLoginFormAuthenticator
$request->getSession()->set(self::ERROR_LOGIN, true);
throw new AuthenticationException();
}
if (null === $remoteHashedPassword) {
$remoteHashedPassword = "";
if (!$remoteHashedPassword) {
throw new Exception('Erreur inconnue');
}
try {
// Comparaison remote hash et hash du input password + salt
$this->passwordHasher->verify($remoteHashedPassword, $plaintextPassword, $remoteSalt);