more wtv-admin stuff

This commit is contained in:
zefie
2022-10-07 20:46:30 -04:00
parent 86d8a09688
commit e0f070cdd7
9 changed files with 269 additions and 12 deletions

View File

@@ -451,7 +451,7 @@ class WTVClientSessionData {
getUserPasswordEnabled() {
if (!this.minisrv_config.config.passwords.enabled) return false; // master config override
var enabled = this.getSessionData("subscriber_password");
return (enabled); // true if set, false if null/disabled
return (enabled != null && typeof enabled != undefined); // true if set, false if null/disabled
}
validateUserPassword(passwd) {