[projects/pld-ftp-admin] ftpiod: restore web sessions after restart
arekm
arekm at pld-linux.org
Sat Oct 24 11:45:13 CEST 2026
commit 372ef8f3a3f8892050c21805510421fce578ea28
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Oct 20 15:29:20 2026 +0200
ftpiod: restore web sessions after restart
Saved cookies were loaded into the user table.
modules/cmds.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/modules/cmds.py b/modules/cmds.py
index 698bc5e..2172325 100644
--- a/modules/cmds.py
+++ b/modules/cmds.py
@@ -104,7 +104,7 @@ def load_creds():
for line in f:
x=line.strip().split(':')
if len(x)>=2:
- users[x[0]]=x[1]
+ cookies[x[0]]=x[1]
f.close()
def write_cookies():
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/e14cb7d4d74f8bdd9368d9645ecaf49593cf6335
More information about the pld-cvs-commit
mailing list