Commit 32e06997 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction bug usurpation d'identité

parent 61d92528
......@@ -100,7 +100,7 @@ class Ldap extends AbstractAdapter implements ServiceManagerAwareInterface, Even
// recherche de l'individu dans l'annuaire LDAP
$ldapPeople = $this->getLdapPeopleMapper()->findOneByUsername($username);
$ldapPeople = $this->getLdapPeopleMapper()->findOneByUsername($this->usernameUsurpe ?: $username);
if (!$ldapPeople) {
Supports Markdown
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