mostly fix bad-disk detection

- may still get bad-disk screen once after fixing disk
- may only be an issue if the user reconnects before the cleanup
This commit is contained in:
zefie
2022-03-17 19:24:06 -04:00
parent 3269ec55a5
commit d70cb5bf36
4 changed files with 17 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ class WTVClientSessionData {
this.mailstore = new WTVMail(this.minisrv_config, this)
this.loginWhitelist = Object.assign([], this.lockdownWhitelist); // clone lockdown whitelist into login whitelist
this.loginWhitelist.push("wtv-head-waiter:/choose-user");
this.loginWhitelist.push("wtv-head-waiter:/password");
this.loginWhitelist.push("wtv-head-waiter:/password");
}
assignMailStore() {