Fixed #5304 - Password: after reset password meter not reset

pull/5339/head
tugcekucukoglu 2024-02-23 11:07:59 +03:00
parent 45fb504295
commit 41d3250a0a
1 changed files with 6 additions and 1 deletions

View File

@ -182,7 +182,12 @@ export default {
}
},
setPasswordMeter() {
if (!this.modelValue) return;
if (!this.modelValue) {
this.meter = null;
this.infoText = this.promptText;
return;
}
const { meter, label } = this.checkPasswordStrength(this.modelValue);