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

Correction bug usurpation d'identité

parent 61d92528
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ class Ldap extends AbstractAdapter implements ServiceManagerAwareInterface, Even ...@@ -100,7 +100,7 @@ class Ldap extends AbstractAdapter implements ServiceManagerAwareInterface, Even
} }
// recherche de l'individu dans l'annuaire LDAP // recherche de l'individu dans l'annuaire LDAP
$ldapPeople = $this->getLdapPeopleMapper()->findOneByUsername($username); $ldapPeople = $this->getLdapPeopleMapper()->findOneByUsername($this->usernameUsurpe ?: $username);
if (!$ldapPeople) { if (!$ldapPeople) {
$e $e
->setCode(AuthenticationResult::FAILURE) ->setCode(AuthenticationResult::FAILURE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment