From 8278beae392dd1634775b1392c83966389ad597d Mon Sep 17 00:00:00 2001 From: zefie Date: Thu, 14 Aug 2025 22:11:09 -0400 Subject: [PATCH] fix mac viewer i guess --- .../includes/ServiceVault/wtv-head-waiter/ValidateLogin.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-head-waiter/ValidateLogin.js b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-head-waiter/ValidateLogin.js index ac437f36..b1ee75ef 100644 --- a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-head-waiter/ValidateLogin.js +++ b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-head-waiter/ValidateLogin.js @@ -98,6 +98,9 @@ minisrv-no-mail-count: true`; minisrv-no-mail-count: true Content-Type: text/html wtv-visit: ${gourl}`; + if (!socket_sessions[socket.id].prealpha) { + headers += "\nwtv-connection-close: true\nConnection: close"; + } } else { headers = `403 The password you entered was incorrect. Please retype it and try again. minisrv-no-mail-count: true`;