Bugfix/improve the redirection on logout (#642)
* Improve logout * Update changelog
This commit is contained in:
@@ -89,7 +89,7 @@ export class AppComponent implements OnDestroy, OnInit {
|
||||
this.tokenStorageService.signOut();
|
||||
this.userService.remove();
|
||||
|
||||
this.router.navigate(['/']);
|
||||
document.location.href = '/';
|
||||
}
|
||||
|
||||
public ngOnDestroy() {
|
||||
|
Reference in New Issue
Block a user