Logging out does not clear out session and cookies

Bug #737822 reported by Jeremy Jongsma on 2011-03-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Downpour
Medium
Jeremy Jongsma

Bug Description

Logging out currently seems to have no effect, due to the fact that the session cookie is not cleared out. Logging out a second time seems to reset the cookie, but results in an error. Logging out should immediately clear the session.

Jeremy Jongsma (jeremy-jongsma) wrote :

Error on second logout:

/usr/local/lib/python2.6/dist-packages/Downpour-0.2.1-py2.6.egg/downpour/web/common.py, line 58 in get_user
56 userinfo = request.getCookie('DOWNPOUR_USER');
57 if userinfo is not None:
58 (userid, userhash) = userinfo.split(':', 1)
59 user = request.application.get_store().find(models.User,
Locals
request
downpour.web.common.Request instance @ 0x989be6c
<GET /account/logout HTTP/1.1>
userinfo 'None'
Globals
models <module 'downpour.core.models' from '/usr/local/lib/python2.6/dist-packages/Downpour-0.2.1-py2.6.egg/downpour/core/models.pyc'>
<type 'exceptions.ValueError'>: need more than 1 value to unpack

Changed in downpour:
assignee: nobody → Jeremy Jongsma (jeremy-jongsma)
Changed in downpour:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers