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:
@@ -1,6 +1,9 @@
|
||||
var minisrv_service_file = true;
|
||||
|
||||
if (socket.ssid !== null) session_data.switchUserID(0);
|
||||
if (socket.ssid !== null) {
|
||||
session_data.switchUserID(0);
|
||||
session_data.setUserLoggedIn(false);
|
||||
}
|
||||
|
||||
headers = `200 OK
|
||||
minisrv-no-mail-count: true
|
||||
|
||||
Reference in New Issue
Block a user