fixed misspelled function
This commit is contained in:
@@ -76,7 +76,7 @@ class Auth(BaseAuth):
|
||||
SUPPORT_EXTENDED = self.configuration.get("auth", "ldap_support_extended")
|
||||
|
||||
try:
|
||||
conn = ldap3.Connection(server, f'cn={user},ou=users,DC=ldap,DC=goauthentik,DC=io', password, client_strategy=SAFE_SYNC, auto_bind=True)
|
||||
conn = ldap3.Connection(SERVER, f'cn={user},ou=users,DC=ldap,DC=goauthentik,DC=io', password, client_strategy=SAFE_SYNC, auto_bind=True)
|
||||
return user
|
||||
except Exception as err:
|
||||
logger.debug("LDAP error: %s" % err)
|
||||
|
||||
Reference in New Issue
Block a user