PM-5762 - DeepLinkGuard - Fix issue in which org invite acceptance was broken due to us not properly checking for the lock url; if an org name or org user email contained lock, then the login redirect url would not persist and take the user to the accept org invite page after login. (#7744)
This commit is contained in:
parent
40dc6861cd
commit
88f13d3be5
|
@ -51,6 +51,6 @@ export function deepLinkGuard(): CanActivateFn {
|
||||||
};
|
};
|
||||||
|
|
||||||
function isValidUrl(url: string | null | undefined): boolean {
|
function isValidUrl(url: string | null | undefined): boolean {
|
||||||
return !Utils.isNullOrEmpty(url) && !url?.toLocaleLowerCase().includes("lock");
|
return !Utils.isNullOrEmpty(url) && !url?.toLocaleLowerCase().includes("/lock");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue