fix login flow broken my prealpha stuff

This commit is contained in:
zefie
2025-08-14 21:50:04 -04:00
parent c6ef39f3d8
commit bc1f6ab2cb

View File

@@ -116,6 +116,9 @@ minisrv-no-mail-count: true`;
headers = `200 OK headers = `200 OK
minisrv-no-mail-count: true minisrv-no-mail-count: true
Content-Type: text/html`; Content-Type: text/html`;
if (!socket_sessions[socket.id].prealpha) {
headers += "\nwtv-connection-close: true\nConnection: close";
}
if (client_challenge_response) { if (client_challenge_response) {
headers += ` headers += `