Skip to content

Commit

Permalink
Merge pull request #90 from nextcloud/fix/88
Browse files Browse the repository at this point in the history
🐛 FIX: variable groups not set in all cases
  • Loading branch information
violoncelloCH authored Jun 27, 2019
2 parents 51556d9 + 1008d41 commit e03df48
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 e03df48

Please sign in to comment.