This commit is contained in:
@@ -107,7 +107,7 @@ export default {
|
||||
readOnly: false
|
||||
});
|
||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||
|
||||
//-------------
|
||||
//Set known password warning if applicable
|
||||
//note: all code assumes only one known user the superuser
|
||||
//if this changes then auth.js as well as store and here will need to be changed as well
|
||||
@@ -116,10 +116,11 @@ export default {
|
||||
(window.$gz.store.state.globalSettings.licenseStatus == 3 || //ActivePurchased = 3,
|
||||
window.$gz.store.state.globalSettings.licenseStatus == 4) // ExpiredPurchased = 4
|
||||
) {
|
||||
this.formState.errorBoxMessage = vm.$ay.t("KnownPasswordWarning");
|
||||
this.obj.loginName = "superuser";
|
||||
this.obj.oldPassword = "l3tm3in";
|
||||
// this.formState.errorBoxMessage = vm.$ay.t("KnownPasswordWarning");
|
||||
// this.obj.loginName = "superuser";
|
||||
// this.obj.oldPassword = "l3tm3in";
|
||||
}
|
||||
//------------------
|
||||
})
|
||||
.catch(err => {
|
||||
vm.formState.ready = true;
|
||||
@@ -198,7 +199,6 @@ export default {
|
||||
return window.$gz.form;
|
||||
},
|
||||
fieldValueChanged(ref) {
|
||||
debugger;
|
||||
if (!this.formState.loading && !this.formState.readOnly) {
|
||||
window.$gz.form.fieldValueChanged(this, ref);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user