Merge pull request #1156 from modoboa/fix/django_auth_ldap_1213

Fixed custom authentication backend.
This commit is contained in:
Antoine Nguyen
2017-06-22 15:52:59 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
django-auth-ldap
django-auth-ldap>=1.2.13
+1 -1
View File
@@ -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: