Sfoglia il codice sorgente

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

Peter Marschall 6 mesi fa
parent
commit
5c4a0578b0
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      radicale/auth/ldap.py

+ 1 - 0
radicale/auth/ldap.py

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