disable session buster detection code for now

- breaks guest mode
- breaks registration
- really just breaks more than it fixes
- need ticket key/value system
This commit is contained in:
zefie
2022-02-08 11:53:55 -05:00
parent 433fc3db19
commit d1c70c7ab1

View File

@@ -405,6 +405,7 @@ Location: " + minisrv_config.config.unauthorized_url`;
return; return;
} }
/*
if (ssid_sessions[socket.ssid].isRegistered(false) && !ssid_sessions[socket.ssid].isAuthorized(shortURL, 'login', true)) { if (ssid_sessions[socket.ssid].isRegistered(false) && !ssid_sessions[socket.ssid].isAuthorized(shortURL, 'login', true)) {
if (!ssid_sessions[socket.ssid].getSessionData("subscriber_username")) { if (!ssid_sessions[socket.ssid].getSessionData("subscriber_username")) {
headers = `300 Session Error headers = `300 Session Error
@@ -415,7 +416,7 @@ Location: client:relogin`;
return; return;
} }
} }
*/
// Check URL for :/, but not :// (to differentiate wtv urls) // Check URL for :/, but not :// (to differentiate wtv urls)
if (shortURL.indexOf(':/') >= 0 && shortURL.indexOf('://') == -1) { if (shortURL.indexOf(':/') >= 0 && shortURL.indexOf('://') == -1) {