diff options
author | Mark Sapiro <mark@msapiro.net> | 2013-12-02 15:26:58 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2013-12-02 15:26:58 -0800 |
commit | d56abb9d7a556a8703cd7ea46a39f72b31d5f082 (patch) | |
tree | ede9c61e33a34379aaec890cec3d6cc2a7a16ad0 | |
parent | b03cc278ec35db41a04a3449f9e5689385819524 (diff) | |
download | mailman2-d56abb9d7a556a8703cd7ea46a39f72b31d5f082.tar.gz mailman2-d56abb9d7a556a8703cd7ea46a39f72b31d5f082.tar.xz mailman2-d56abb9d7a556a8703cd7ea46a39f72b31d5f082.zip |
- Fixed a bug which caused some authentication cookies to expire too soon
if AUTHENTICATION_COOKIE_LIFETIME is non-zero.
Diffstat (limited to '')
-rw-r--r-- | Mailman/SecurityManager.py | 6 | ||||
-rwxr-xr-x | NEWS | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/Mailman/SecurityManager.py b/Mailman/SecurityManager.py index 4f6aa34a..7ca4e084 100644 --- a/Mailman/SecurityManager.py +++ b/Mailman/SecurityManager.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2011 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2013 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -319,8 +319,6 @@ 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: @@ -362,6 +360,8 @@ class SecurityManager: if mac <> received_mac: return False # Authenticated! + # Refresh the cookie + print self.MakeCookie(authcontext, user) return True @@ -1,6 +1,6 @@ -*- coding: iso-8859-1 -*- Mailman - The GNU Mailing List Management System -Copyright (C) 1998-2011 by the Free Software Foundation, Inc. +Copyright (C) 1998-2013 by the Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA Here is a history of user visible changes to Mailman. @@ -8,6 +8,9 @@ Here is a history of user visible changes to Mailman. 2.1.18 (xx-xxx-xxxx) Bug Fixes and other patches + + - Fixed a bug which caused some authentication cookies to expire too soon + if AUTHENTICATION_COOKIE_LIFETIME is non-zero. (LP: #1257112) - Fixed a possible TypeError in bin/sync_members introduced in 2.1.17. (LP: #1243343) |