Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 4f97bad0 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

Pull request #220: Fix show error in Password set/change dialog

Merge in EDELIVERY/smp from EDELIVERY-9491-during-the-time-of-mismatch-password-filled-it-should-return-a-message-password-does to development

* commit '9c505cb4aa1fd9638edf8c02ae48796d9b654c14':
  Fix show error in Password set/change dialog
parents 230ef441 26257b1f
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@
<mat-icon matSuffix
(click)="hideNewPwdFiled = !hideNewPwdFiled">{{hideNewPwdFiled ? 'visibility_off' : 'visibility'}}</mat-icon>
<mat-error *ngIf="passwordError('new-password', 'required')">New password is required</mat-error>
<mat-error *ngIf="passwordError('new-password', 'equal')">New password must not be equal than old current
<mat-error *ngIf="passwordError('new-password', 'error')">New password must not be equal than old current
password!
</mat-error>
<mat-error *ngIf="passwordError('new-password', 'pattern')">{{passwordValidationMessage}}</mat-error>
......@@ -46,7 +46,7 @@
formControlName="confirm-new-password" required id="cnp_id">
<mat-icon matSuffix
(click)="hideConfPwdFiled = !hideConfPwdFiled">{{hideConfPwdFiled ? 'visibility_off' : 'visibility'}}</mat-icon>
<mat-error *ngIf="passwordError('confirm-new-password', 'equal')">Confirm valued does not match new password!
<mat-error *ngIf="passwordError('confirm-new-password', 'error')">Confirm valued does not match new password!
</mat-error>
<mat-error *ngIf="passwordError('confirm-new-password', 'required')">Confirm New password is required
</mat-error>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment