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 19:06:06 +02:00
committed by GitHub
parent 6344eeac3b
commit 2b320b0f9e

View File

@@ -399,7 +399,6 @@ function handleRedirectTo(): void {
} }
if (!contextSrv.user.isSignedIn) { if (!contextSrv.user.isSignedIn) {
locationService.replace('/login');
return; return;
} }