Skip to content

Commit

Permalink
fix: correctly display "*" for "repeat new password" field (for non o…
Browse files Browse the repository at this point in the history
…ptional newPassword)
  • Loading branch information
prigaux committed Oct 27, 2023
1 parent 3634d97 commit 7be1ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/attrs/PasswordAttr.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PasswordStrength v-if="!passwordPattern" :passwd="val"></PasswordStrength>
</my-bootstrap-form-group>

<my-bootstrap-form-group name="userPassword2" :label="default_attrs_title.userPassword2" :validity="validity" hideErrors=1>
<my-bootstrap-form-group name="userPassword2" :required="!opts.optional" :label="default_attrs_title.userPassword2" :validity="validity" hideErrors=1>
<input-with-validity name="userPassword2" v-model="userPassword2" type="password" autocomplete="new-password" :same-as="val" :required="!opts.optional" :validity.sync="validity.userPassword2"></input-with-validity>
<span class="help-block" v-if="validity.userPassword2.patternMismatch && !validity.userPassword.patternMismatch">Les mots de passe ne sont pas identiques</span>
<span class="attr-description" v-html="opts.description"></span>
Expand Down

0 comments on commit 7be1ea2

Please sign in to comment.