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() {