From f71bd73cb6fd2ebf5fd10145191a7fd55003558d Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 18 Nov 2014 05:34:03 +0100 Subject: auth: login_user should pass the return value --- auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-1-g7c22