diff options
Diffstat (limited to 'Mailman/SecurityManager.py')
-rw-r--r-- | Mailman/SecurityManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/SecurityManager.py b/Mailman/SecurityManager.py index 5d5acd5b..55536aa1 100644 --- a/Mailman/SecurityManager.py +++ b/Mailman/SecurityManager.py @@ -233,8 +233,6 @@ class SecurityManager: for ac in authcontexts: ok = self.CheckCookie(ac, user) if ok: - # Refresh the cookie - print self.MakeCookie(ac, user) return True # Check passwords ac = self.Authenticate(authcontexts, response, user) @@ -321,6 +319,8 @@ class SecurityManager: for u in usernames]: ok = self.__checkone(c, authcontext, user) if ok: + # Refresh the cookie + print self.MakeCookie(authcontext, user) return True return False else: |