Bugfix/improve the redirection on logout (#642)

* Improve logout

* Update changelog
This commit is contained in:
Thomas Kaul
2022-01-22 09:38:01 +01:00
committed by GitHub
parent ba05f5ba30
commit 9d907b5eb5
2 changed files with 5 additions and 1 deletions

View File

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