1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

LDAP auth: fix _login2() by importing ldap.filter

This commit is contained in:
Peter Marschall 2025-09-06 10:46:35 +02:00
parent 5a183e3c2b
commit 5c4a0578b0

View file

@ -80,6 +80,7 @@ class Auth(auth.BaseAuth):
except ImportError: except ImportError:
try: try:
import ldap import ldap
import ldap.filter
self._ldap_module_version = 2 self._ldap_module_version = 2
self.ldap = ldap self.ldap = ldap
except ImportError as e: except ImportError as e: