Skip to content

Commit

Permalink
🐛 FIX: variable groups not set in some cases
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Sulzer <[email protected]>
  • Loading branch information
violoncelloCH committed Jun 27, 2019
1 parent b196e01 commit 1008d41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public function checkPassword($uid, $password) {
$username = $uid;
}

$groups = [];
if ($this->groupDomain && $pieces[1]) {
$groups[] = $pieces[1];
}
Expand Down

0 comments on commit 1008d41

Please sign in to comment.