mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-24 11:22:34 +00:00
fix persistent sessions
This commit is contained in:
parent
a038ca8df8
commit
eea926fadf
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class json_rpc:
|
|||
web.header("Content-Type", "application/x-json")
|
||||
ck = cookies()
|
||||
id = 0
|
||||
if not(ck.has_key("session_id") and ck["session_id"] in utils.SESSIONS):
|
||||
if not(ck.has_key("session_id") and ck["session_id"] in utils.config.get("sessions")):
|
||||
return json_error("not authenticated", id)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue