Permalink
Browse files

Fixed custom authentication backend.

see #1155
  • Loading branch information...
tonioo committed Jun 22, 2017
1 parent 3d4f1a9 commit 83299b9e8f3e8922cba5ed7ede01b0dcf27f0dcc
Showing with 2 additions and 2 deletions.
  1. +1 −1 ldap-requirements.txt
  2. +1 −1 modoboa/lib/authbackends.py
View
@@ -1 +1 @@
django-auth-ldap
django-auth-ldap>=1.2.13
@@ -108,7 +108,7 @@ def get_user(self, user_id):
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:

0 comments on commit 83299b9

Please sign in to comment.