From a6d7b6444c5ddf385b6f939b2d0f88e065cfa354 Mon Sep 17 00:00:00 2001 From: Kristof De Langhe Date: Thu, 16 Apr 2020 15:12:41 +0200 Subject: [PATCH] 70373: Remove unnecessary route navigate --- src/app/core/auth/auth.service.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/core/auth/auth.service.ts b/src/app/core/auth/auth.service.ts index ce0fafe277..d5f76c106b 100644 --- a/src/app/core/auth/auth.service.ts +++ b/src/app/core/auth/auth.service.ts @@ -460,7 +460,6 @@ export class AuthService { * Refresh route navigated */ public refreshAfterLogout() { - this.router.navigate(['/home']); // Hard redirect to home page, so that all state is definitely lost this._window.nativeWindow.location.href = '/home'; }