🐛 FIX: variable groups not set in some cases
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
This commit is contained in:
@@ -78,6 +78,7 @@ class OC_User_IMAP extends \OCA\user_external\Base {
|
|||||||
$username = $uid;
|
$username = $uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$groups = [];
|
||||||
if ($this->groupDomain && $pieces[1]) {
|
if ($this->groupDomain && $pieces[1]) {
|
||||||
$groups[] = $pieces[1];
|
$groups[] = $pieces[1];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user