parent
ba12d7b46c
commit
f68c591a46
|
@ -174,7 +174,10 @@ class LdapUserBackend extends UserBackend
|
|||
$password
|
||||
);
|
||||
if ($authenticated) {
|
||||
$user->setGroups($this->getGroups($userDn));
|
||||
$groups = $this->getGroups($userDn);
|
||||
if ($groups !== null) {
|
||||
$user->setGroups($groups);
|
||||
}
|
||||
}
|
||||
return $authenticated;
|
||||
} catch (LdapException $e) {
|
||||
|
|
Loading…
Reference in New Issue