Auth: Only apply redirection if the user is signed in (session storage redirection) (#94279)

Fix: do not redirect if the user is not signed in
This commit is contained in:
Misi
2024-10-04 20:06:06 +03:00
committed by GitHub
parent 6344eeac3b
commit 2b320b0f9e
-1
View File
@@ -399,7 +399,6 @@ function handleRedirectTo(): void {
}
if (!contextSrv.user.isSignedIn) {
locationService.replace('/login');
return;
}