flag a session when showing the bad disk page

This commit is contained in:
zefie
2024-05-18 16:48:16 -04:00
parent bc5e2763bc
commit 762cffa0bb
2 changed files with 2 additions and 3 deletions

View File

@@ -2,8 +2,7 @@ var minisrv_service_file = true;
// remove restrictions once this page is shown, since the user will be 'trapped' anyway
session_data.disableLockdown();
session_data.delete("wtv-my-disk-sucks-sucks-sucks");
session_data.baddisk = false;
ssid_sessions[socket.ssid].set("bad_disk_shown", true)
headers = `200 OK
Content-type: text/html`;