Fixed #5304 - Password: after reset password meter not reset
parent
45fb504295
commit
41d3250a0a
|
@ -182,7 +182,12 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setPasswordMeter() {
|
setPasswordMeter() {
|
||||||
if (!this.modelValue) return;
|
if (!this.modelValue) {
|
||||||
|
this.meter = null;
|
||||||
|
this.infoText = this.promptText;
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const { meter, label } = this.checkPasswordStrength(this.modelValue);
|
const { meter, label } = this.checkPasswordStrength(this.modelValue);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue