wtv-mail-count header should return mail for all users instead of just the primary one if you aren't logged in
- this was a deeper rabbit hole than I expected
This commit is contained in:
@@ -40,7 +40,10 @@ if (socket.ssid) {
|
||||
data = errpage[1];
|
||||
}
|
||||
|
||||
if (request_headers.query.relogin && session_data.getSessionData("registered")) gourl += "relogin=true";
|
||||
if (request_headers.query.relogin && session_data.getSessionData("registered")) {
|
||||
gourl += "relogin=true";
|
||||
session_data.setUserLoggedIn(false);
|
||||
}
|
||||
if (request_headers.query.reconnect && session_data.getSessionData("registered")) gourl += "reconnect=true";
|
||||
|
||||
if (session_data.data_store.wtvsec_login) {
|
||||
|
||||
Reference in New Issue
Block a user