Merge pull request #2167 from wrouesnel/bugfix/ldapauth

Fix LDAP auth configuration paths.
This commit is contained in:
James Cole
2019-03-16 18:58:21 +01:00
committed by GitHub
2 changed files with 46 additions and 3 deletions

View File

@@ -143,7 +143,7 @@ return [
'scopes' => $scopes,
'usernames' => [
'identifiers' => [
/*
|--------------------------------------------------------------------------
@@ -173,8 +173,8 @@ return [
'ldap' => [
'discover' => envNonEmpty('ADLDAP_DISCOVER_FIELD', 'userprincipalname'),
'authenticate' => envNonEmpty('ADLDAP_AUTH_FIELD', 'distinguishedname'),
'locate_users_by' => envNonEmpty('ADLDAP_DISCOVER_FIELD', 'userprincipalname'),
'bind_users_by' => envNonEmpty('ADLDAP_AUTH_FIELD', 'distinguishedname'),
],