Add domain part to user groups if the user group backend is reponsible for a domain
This commit is contained in:
parent
fe12ed05e3
commit
ab7fa9f925
|
@ -721,6 +721,9 @@ class LdapUserGroupBackend extends LdapRepository implements UserGroupBackendInt
|
|||
$groups = array();
|
||||
foreach ($groupQuery as $row) {
|
||||
$groups[] = $row->{$this->groupNameAttribute};
|
||||
if ($domain !== null) {
|
||||
$groups[] = $row->{$this->groupNameAttribute} . "@$domain";
|
||||
}
|
||||
}
|
||||
|
||||
return $groups;
|
||||
|
|
Loading…
Reference in New Issue