mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Merge pull request #1156 from modoboa/fix/django_auth_ldap_1213
Fixed custom authentication backend.
This commit is contained in:
@@ -1 +1 @@
|
||||
django-auth-ldap
|
||||
django-auth-ldap>=1.2.13
|
||||
|
||||
@@ -108,7 +108,7 @@ try:
|
||||
def authenticate(self, username, password):
|
||||
if self.global_params["authentication_type"] == "ldap":
|
||||
return super(LDAPBackend, self).authenticate(
|
||||
username, password)
|
||||
username=username, password=password)
|
||||
return None
|
||||
|
||||
except ImportError:
|
||||
|
||||
Reference in New Issue
Block a user