+ this.isChangePassword$ = this.authService.isChangePassword;
+ this.isChangePassword$.subscribe((res: boolean): void => {
+ this.changePassword = res;
+ });
+ if (this.changePassword === true) {
+ this.router.navigate(['changepassword']).catch((): void => {
+ // Catch Navigation Error
+ });
+ }
+