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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user