fix login flow broken my prealpha stuff
This commit is contained in:
@@ -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 += `
|
||||||
|
|||||||
Reference in New Issue
Block a user