+
+ this.user = this.authService.getUser()
+
+ const confirmPasswordControl = this.form.get('new-confirmed-password')
+
+ confirmPasswordControl.valueChanges
+ .pipe(filter(v => v !== this.form.value[ 'new-password' ]))
+ .subscribe(() => confirmPasswordControl.setErrors({ matchPassword: true }))