mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-22 12:34:50 +00:00
fix logout
This commit is contained in:
parent
7c0e2fb813
commit
41d955a5ea
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue