Skip to content

Commit

Permalink
Fixed #5304 - Password: after reset password meter not reset
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Feb 23, 2024
1 parent 45fb504 commit 41d3250
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/lib/password/Password.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 41d3250

Please sign in to comment.