SUPPORT-9601: fix
This commit is contained in:
parent
d249cdc3dd
commit
a5df472819
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ export abstract class AuthGuard implements CanActivate {
|
||||||
.then((cspCheckPassed) => {
|
.then((cspCheckPassed) => {
|
||||||
if (!cspCheckPassed) {
|
if (!cspCheckPassed) {
|
||||||
window.open(url.origin + this.landingUlUrl, "_self");
|
window.open(url.origin + this.landingUlUrl, "_self");
|
||||||
return Promise.reject("CSP check failed - redirecting to home")
|
return Promise.reject("CSP check failed - redirecting to landing")
|
||||||
}
|
}
|
||||||
return Promise.resolve(this.checkAccess());
|
return Promise.resolve(this.checkAccess());
|
||||||
}).then((isAccess) => {
|
}).then((isAccess) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue