diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-10-21 16:01:59 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-10-21 16:01:59 +0000 |
| commit | 7c28d427199a5d2129c129be8f3260cb6bd9f7b0 (patch) | |
| tree | 55b85c5d079363c0b462677738107bc06c7f4484 /repoze | |
| parent | 6506f3651f5ed483d6852f9419790220b3258bb0 (diff) | |
| download | pyramid-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.py | 2 |
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, |
