Change order to connect API Before LDAP
Prevent double authentication with API Access token and ldaps server and also prevent temporary ban from ldap server when this one is enabled
This commit is contained in:
parent
219c933832
commit
7e558c1da8
|
|
@ -41,11 +41,11 @@ class AuthenticationProvider implements ServiceProviderInterface
|
|||
$container['authenticationManager']->register(new ReverseProxyAuth($container));
|
||||
}
|
||||
|
||||
$container['authenticationManager']->register(new ApiAccessTokenAuth($container));
|
||||
|
||||
if (LDAP_AUTH) {
|
||||
$container['authenticationManager']->register(new LdapAuth($container));
|
||||
}
|
||||
|
||||
$container['authenticationManager']->register(new ApiAccessTokenAuth($container));
|
||||
}
|
||||
|
||||
$container['projectAccessMap'] = $this->getProjectAccessMap();
|
||||
$container['applicationAccessMap'] = $this->getApplicationAccessMap();
|
||||
|
|
|
|||
Loading…
Reference in New Issue