Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
32e06997
Commit
32e06997
authored
Mar 21, 2018
by
Bertrand Gauthier
Browse files
Correction bug usurpation d'identité
parent
61d92528
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Authentication/Adapter/Ldap.php
View file @
32e06997
...
...
@@ -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
)
{
$e
->
setCode
(
AuthenticationResult
::
FAILURE
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment