fixed misspelled function

This commit is contained in:
Sebastian Rust
2022-07-02 16:25:53 +02:00
parent db54047d04
commit 769795998e

View File

@@ -76,7 +76,7 @@ class Auth(BaseAuth):
SUPPORT_EXTENDED = self.configuration.get("auth", "ldap_support_extended")
try:
conn = 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)