Logging out does not clear out session and cookies
Bug #737822 reported by
Jeremy Jongsma
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Downpour |
Fix Committed
|
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.
Changed in downpour: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
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 getCookie( 'DOWNPOUR_ USER'); application. get_store( ).find( models. User, web.common. Request instance @ 0x989be6c core.models' from '/usr/local/ lib/python2. 6/dist- packages/ Downpour- 0.2.1-py2. 6.egg/downpour/ core/models. pyc'> ValueError' >: need more than 1 value to unpack
56 userinfo = request.
57 if userinfo is not None:
58 (userid, userhash) = userinfo.split(':', 1)
59 user = request.
Locals
request
downpour.
<GET /account/logout HTTP/1.1>
userinfo 'None'
Globals
models <module 'downpour.
<type 'exceptions.