Skip to content
Snippets Groups Projects
Commit c0af4fb0 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Teste si le login existe dans l'annuaire LDAP !

parent fa9df0ed
No related branches found
No related tags found
No related merge requests found
......@@ -40,11 +40,13 @@ class StorageAdapter extends PdoAdapter
return parent::checkPassword($user, $password);
}
$user = $this->getUser($username);
if ($user = $this->getUser($username)) {
return $this->checkPassword($user, $password);
}
return false;
}
/**
* Redéfinition.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment