Bugfix/improve the redirection on logout (#642)
* Improve logout * Update changelog
This commit is contained in:
parent
ba05f5ba30
commit
9d907b5eb5
@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Upgraded _Stripe_ dependencies
|
- Upgraded _Stripe_ dependencies
|
||||||
- Upgraded `prisma` from version `3.7.0` to `3.8.1`
|
- Upgraded `prisma` from version `3.7.0` to `3.8.1`
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Improved the redirection on logout
|
||||||
|
|
||||||
## 1.105.0 - 20.01.2022
|
## 1.105.0 - 20.01.2022
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -89,7 +89,7 @@ export class AppComponent implements OnDestroy, OnInit {
|
|||||||
this.tokenStorageService.signOut();
|
this.tokenStorageService.signOut();
|
||||||
this.userService.remove();
|
this.userService.remove();
|
||||||
|
|
||||||
this.router.navigate(['/']);
|
document.location.href = '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public ngOnDestroy() {
|
public ngOnDestroy() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user