Fix typo
This commit is contained in:
parent
a21bf1d494
commit
241ebaa084
1 changed files with 2 additions and 2 deletions
|
@ -44,11 +44,11 @@ def get_users_handler(config, config_provider, override_config_dir):
|
|||
user_rdn = config.get('LDAP_USER_RDN', [])
|
||||
uid_attr = config.get('LDAP_UID_ATTR', 'uid')
|
||||
email_attr = config.get('LDAP_EMAIL_ATTR', 'mail')
|
||||
secondary_user_rds = config.get('LDAP_SECONDARY_USER_RDNS', [])
|
||||
secondary_user_rdns = config.get('LDAP_SECONDARY_USER_RDNS', [])
|
||||
|
||||
allow_tls_fallback = config.get('LDAP_ALLOW_INSECURE_FALLBACK', False)
|
||||
return LDAPUsers(ldap_uri, base_dn, admin_dn, admin_passwd, user_rdn, uid_attr, email_attr,
|
||||
allow_tls_fallback, secondary_user_rds=secondary_user_rds)
|
||||
allow_tls_fallback, secondary_user_rdns=secondary_user_rdns)
|
||||
|
||||
if authentication_type == 'JWT':
|
||||
verify_url = config.get('JWT_VERIFY_ENDPOINT')
|
||||
|
|
Reference in a new issue