mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Add early exit when no groups are configured
This commit is contained in:
parent
abe058943e
commit
427d909783
1 changed files with 3 additions and 0 deletions
|
|
@ -95,6 +95,9 @@ class LdapIdentities implements IIdentities
|
|||
$identities[] = $identity;
|
||||
}
|
||||
|
||||
if(!$this->config->group_get)
|
||||
return $identities;
|
||||
|
||||
try {
|
||||
$groupResults = $this->FindLdapResults(
|
||||
$this->config->group_field_member,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue