Skip to content

Commit 0df1ee9

Browse files
author
robin.kluth
committed
* login: Fixed $domainKey issue
1 parent 0a10ca9 commit 0df1ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LdapAuth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function login($username, $password, $domainKey, $fetchUserDN = false)
151151
$domains = [$this->domains[$domainKey]];
152152
}
153153

154-
foreach ($domains as $domainData) {
154+
foreach ($domains as $domainKey => $domainData) {
155155

156156
Yii::debug("Processing domain " . $domainData['hostname'], __METHOD__);
157157

0 commit comments

Comments
 (0)