set allow double redirect for user management service

This commit is contained in:
argirok 2024-01-09 10:08:09 +02:00
parent 5c13e6ac2f
commit 41c3a4401a
2 changed files with 3 additions and 2 deletions

View File

@ -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();

View File

@ -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']);
}
}