Skip to content

Commit c965732

Browse files
authored
Simplify getting authsource data from config
1 parent a1260e2 commit c965732

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/Auth/Process/BaseFilter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ public function __construct(&$config, $reserved)
129129
}
130130

131131
// Get just the specified authsource config values
132-
$authsource = $authsource->getConfigItem($config['authsource']);
133-
$authsource = $authsource->toArray();
132+
$authsource = $authsource->getArray($config['authsource']);
134133

135134
// Make sure it is an ldap source
136135
// TODO: Support ldap:LDAPMulti, if possible

0 commit comments

Comments
 (0)