From 452022b0524e1d08a44d19f50c825867386b5c90 Mon Sep 17 00:00:00 2001 From: Sebastian Rust Date: Sat, 2 Jul 2022 16:32:46 +0200 Subject: [PATCH] fixed misspelled function --- radicale3_auth_ldap/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale3_auth_ldap/__init__.py b/radicale3_auth_ldap/__init__.py index ecc399c..63b87a5 100644 --- a/radicale3_auth_ldap/__init__.py +++ b/radicale3_auth_ldap/__init__.py @@ -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=ldap3.SAFE_SYNC, auto_bind=True) return user except Exception as err: logger.debug("LDAP error: %s" % err)