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:
parent
5a183e3c2b
commit
5c4a0578b0
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue