maj: suppression commentaire inutile
All checks were successful
Cadoles/hydra-sql/pipeline/pr-develop This commit looks good
All checks were successful
Cadoles/hydra-sql/pipeline/pr-develop This commit looks good
This commit is contained in:
@ -80,12 +80,7 @@ class SQLLoginUserAuthenticator extends AbstractAuthenticator
|
||||
if ($remoteHashedPassword) {
|
||||
try {
|
||||
// Comparaison remote hash et hash du input password + salt
|
||||
// dump($remoteHashedPassword, $plaintextPassword, $remoteSalt, password_verify($plaintextPassword, $remoteHashedPassword));
|
||||
$this->passwordHasher->verify($remoteHashedPassword, $plaintextPassword, $remoteSalt);
|
||||
// if ($this->passwordHasher->needsRehash($remoteHashedPassword)) {
|
||||
// $hash = $this->passwordHasher->hash($plaintextPassword);
|
||||
// $this->sqlLoginService->updatePassword($login, $hash, null);
|
||||
// }
|
||||
$attributes = $this->sqlLoginService->fetchDatas($login);
|
||||
$user = new User($login, $remoteHashedPassword, $attributes, $rememberMe);
|
||||
|
||||
|
Reference in New Issue
Block a user