Browse Source

Improve logout

pull/642/head
Thomas 4 years ago
parent
commit
daeec9bcde
  1. 2
      apps/client/src/app/app.component.ts

2
apps/client/src/app/app.component.ts

@ -89,7 +89,7 @@ export class AppComponent implements OnDestroy, OnInit {
this.tokenStorageService.signOut();
this.userService.remove();
this.router.navigate(['/']);
document.location.href = '/';
}
public ngOnDestroy() {

Loading…
Cancel
Save