Skip to content

Commit 3941eb6

Browse files
authored
Fix use of incorrect getter-method
1 parent 470c9c6 commit 3941eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Auth/Source/Ldap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function login(string $username, string $password): array
8787
Assert::oneOf($searchScope, [Query::SCOPE_BASE, Query::SCOPE_ONE, Query::SCOPE_SUB]);
8888

8989
$timeout = $this->ldapConfig->getOptionalInteger('timeout', 3);
90-
$searchBase = $this->ldapConfig->getOptionalArray('search.base');
90+
$searchBase = $this->ldapConfig->getArray('search.base');
9191
$options = [
9292
'scope' => $searchScope,
9393
'timeout' => $timeout,

0 commit comments

Comments
 (0)