From d2910ab0788acfda6f7c2e38b7acfefc6e3526fd Mon Sep 17 00:00:00 2001 From: Vito Date: Mon, 13 Sep 2021 14:05:19 +0100 Subject: [PATCH] [ADF-5462] - fixed logout redirect on other tabs (#7245) --- lib/core/services/auth-guard.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/services/auth-guard.service.ts b/lib/core/services/auth-guard.service.ts index 827aadfb2e..761a901013 100644 --- a/lib/core/services/auth-guard.service.ts +++ b/lib/core/services/auth-guard.service.ts @@ -60,7 +60,7 @@ export class AuthGuard extends AuthGuardBase { } private ticketChangeRedirect(event: StorageEvent) { - if (!event.newValue) { + if (event.newValue) { this.navigate(this.router.url); } else { window.location.reload();