diff --git a/src/app/app.component.ts b/src/app/app.component.ts index aaa91a0..e549104 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -105,7 +105,8 @@ export class AppComponent extends ResearcherBaseComponent implements OnInit { super(); this.configurationService.initStaticPortal(this.irish.portal); this.userManagementService.fixRedirectURL = this.properties.afterLoginRedirectLink; - } + this.userManagementService.allowDoubleRedirectToFixAndCurrentPage = true; + } ngOnDestroy() { super.ngOnDestroy(); diff --git a/src/app/user-policy/user-policy.component.ts b/src/app/user-policy/user-policy.component.ts index bce3fd9..fa70d01 100644 --- a/src/app/user-policy/user-policy.component.ts +++ b/src/app/user-policy/user-policy.component.ts @@ -83,7 +83,7 @@ export class UserPolicyComponent extends BaseComponent implements OnInit { this.userManagementsService.setRedirectUrl(this.redirectUrl); this._router.navigate(['/reload']); }else{ - this._router.navigate(['/']); + this._router.navigate(['/reload']); } }