mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
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…
x
Reference in New Issue
Block a user