Commit 9523fc19 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction : lorsque le login de connexion USURPÉ n'existe pas, échec de l'authentification.

parent cb27a1c3
......@@ -115,8 +115,10 @@ class Ldap extends AbstractAdapter implements ServiceManagerAwareInterface, Even
// verif existence du login usurpé
if ($this->usernameUsurpe) {
// s'il nexiste pas, échec de l'authentification
if (!$this->getLdapAuthAdapter()->getLdap()->searchEntries("(supannAliasLogin=$this->usernameUsurpe)")) {
$this->usernameUsurpe = null;
$success = false;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment