From 73b69843c4809c2515eb7cb6e4827bb7dc07c060 Mon Sep 17 00:00:00 2001 From: Nils Dittberner Date: Mon, 27 Nov 2017 15:42:36 +0100 Subject: [PATCH] 20-260 Improve --- src/app/auth/auth.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/auth/auth.service.ts b/src/app/auth/auth.service.ts index 40752d5..f264911 100644 --- a/src/app/auth/auth.service.ts +++ b/src/app/auth/auth.service.ts @@ -33,6 +33,7 @@ export class AuthService { logout() { firebase.auth().signOut(); this.token = null; + this.router.navigate(['/']); } getToken() {