Skip to content
Browse files
upgrade django-auth-ldap and fix depreciated warning
  • Loading branch information
fyfe committed Dec 19, 2017
1 parent 0cd444b commit 2e18acb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -1 +1 @@
@@ -29,9 +29,9 @@ def authenticate(self, username=None, password=None):
smtp.login(username, password)
except smtplib.SMTPException:
return None
return self.get_or_create_user(username)
return self.get_or_build_user(username)

def get_or_create_user(self, username):
def get_or_build_user(self, username):
"""Get a user or create it the first time.
.. note::
@@ -71,7 +71,7 @@ def __init__(self, *args, **kwargs):
self.global_params = dict(

def get_or_create_user(self, username, ldap_user):
def get_or_build_user(self, username, ldap_user):
This must return a (User, created) 2-tuple for the given
LDAP user. username is the Django-friendly username of

0 comments on commit 2e18acb

Please sign in to comment.