summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth.py b/auth.py
index 0ab23cc..9b7d43a 100644
--- a/auth.py
+++ b/auth.py
@@ -36,7 +36,7 @@ class LdapAuth(Auth):
def login_user(self, user):
user.last_login = datetime.now()
user.save()
- super(LdapAuth, self).login_user(user)
+ return super(LdapAuth, self).login_user(user)
def _format_dn(self, attr, with_base_dn = True):
if with_base_dn: