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

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

Fix pass change control validation

parent 4d17d743
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,12 @@ export class PasswordChangeDialogComponent {
this.dialogForm.controls['current-password'].setValue('');
this.dialogForm.controls['new-password'].setValue('');
this.dialogForm.controls['confirm-new-password'].setValue('');
this.dialogForm.controls['new-password'].valueChanges.subscribe({
next: (value) => {
this.dialogForm.controls['confirm-new-password'].updateValueAndValidity();
}
});
}
get showCurrentPasswordField():boolean {
......
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