summaryrefslogtreecommitdiff
path: root/repoze
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-10-21 16:01:59 +0000
committerChris McDonough <chrism@agendaless.com>2009-10-21 16:01:59 +0000
commit7c28d427199a5d2129c129be8f3260cb6bd9f7b0 (patch)
tree55b85c5d079363c0b462677738107bc06c7f4484 /repoze
parent6506f3651f5ed483d6852f9419790220b3258bb0 (diff)
downloadpyramid-7c28d427199a5d2129c129be8f3260cb6bd9f7b0.tar.gz
pyramid-7c28d427199a5d2129c129be8f3260cb6bd9f7b0.tar.bz2
pyramid-7c28d427199a5d2129c129be8f3260cb6bd9f7b0.zip
Handle no old cookie case.
Diffstat (limited to 'repoze')
-rw-r--r--repoze/bfg/authentication.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/repoze/bfg/authentication.py b/repoze/bfg/authentication.py
index 144e1bf39..5fa653a74 100644
--- a/repoze/bfg/authentication.py
+++ b/repoze/bfg/authentication.py
@@ -347,6 +347,8 @@ class AuthTktCookieHelper(object):
timestamp, old_userid, old_tokens, old_userdata = None, '', '', ''
+ expired = False
+
if old_cookie_value:
try:
(timestamp,old_userid,old_tokens,