summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-18 05:34:03 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 02:15:56 +0100
commitf71bd73cb6fd2ebf5fd10145191a7fd55003558d (patch)
treed61f5f5f37875a1f6d17f38f9002c3a3edf63a5b
parent90a8462a48bce1cda4102e37f76b0bf3bb827301 (diff)
downloadpadlite-teams-f71bd73cb6fd2ebf5fd10145191a7fd55003558d.tar.gz
padlite-teams-f71bd73cb6fd2ebf5fd10145191a7fd55003558d.tar.bz2
padlite-teams-f71bd73cb6fd2ebf5fd10145191a7fd55003558d.zip
auth: login_user should pass the return value
-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: