mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
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:
parent
6344eeac3b
commit
2b320b0f9e
@ -399,7 +399,6 @@ function handleRedirectTo(): void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!contextSrv.user.isSignedIn) {
|
if (!contextSrv.user.isSignedIn) {
|
||||||
locationService.replace('/login');
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user