set allow double redirect for user management service
This commit is contained in:
parent
5c13e6ac2f
commit
41c3a4401a
|
@ -105,7 +105,8 @@ export class AppComponent extends ResearcherBaseComponent implements OnInit {
|
||||||
super();
|
super();
|
||||||
this.configurationService.initStaticPortal(this.irish.portal);
|
this.configurationService.initStaticPortal(this.irish.portal);
|
||||||
this.userManagementService.fixRedirectURL = this.properties.afterLoginRedirectLink;
|
this.userManagementService.fixRedirectURL = this.properties.afterLoginRedirectLink;
|
||||||
}
|
this.userManagementService.allowDoubleRedirectToFixAndCurrentPage = true;
|
||||||
|
}
|
||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
super.ngOnDestroy();
|
super.ngOnDestroy();
|
||||||
|
|
|
@ -83,7 +83,7 @@ export class UserPolicyComponent extends BaseComponent implements OnInit {
|
||||||
this.userManagementsService.setRedirectUrl(this.redirectUrl);
|
this.userManagementsService.setRedirectUrl(this.redirectUrl);
|
||||||
this._router.navigate(['/reload']);
|
this._router.navigate(['/reload']);
|
||||||
}else{
|
}else{
|
||||||
this._router.navigate(['/']);
|
this._router.navigate(['/reload']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue