mirror of
https://github.com/humhub/humhub.git
synced 2025-01-18 22:58:06 +01:00
Fixed ldap user table id attribute detection without existing users
This commit is contained in:
parent
bc33d2660d
commit
248e2ca7e5
@ -309,6 +309,8 @@ class ZendLdapClient extends BaseFormAuth implements interfaces\AutoSyncUsers, i
|
||||
$baseDn = Yii::$app->getModule('user')->settings->get('auth.ldap.baseDn');
|
||||
$userCollection = $this->getLdap()->search($userFilter, $baseDn, Ldap::SEARCH_SCOPE_SUB);
|
||||
|
||||
$authClient = null;
|
||||
|
||||
$ids = [];
|
||||
foreach ($userCollection as $attributes) {
|
||||
$authClient = new static;
|
||||
|
Loading…
x
Reference in New Issue
Block a user