fix logout

This commit is contained in:
Martijn Voncken 2008-10-04 09:59:41 +00:00
parent 7c0e2fb813
commit 41d955a5ea
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ def end_session():
session_id = getcookie("session_id")
setcookie("session_id","")
if session_id in config.get("sessions"):
config.set("sessions", config.get("sessions").append(session_id))
config["sessions"].remove(session_id)
config.set("sessions", config["sessions"])
#/sessions
def seeother(url, *args, **kwargs):