Browse Source
Bugfix/improve the redirection on logout (#642)
* Improve logout
* Update changelog
pull/645/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
1 deletions
-
CHANGELOG.md
-
apps/client/src/app/app.component.ts
|
|
@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
- Upgraded _Stripe_ dependencies |
|
|
|
- Upgraded `prisma` from version `3.7.0` to `3.8.1` |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Improved the redirection on logout |
|
|
|
|
|
|
|
## 1.105.0 - 20.01.2022 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
@ -89,7 +89,7 @@ export class AppComponent implements OnDestroy, OnInit { |
|
|
|
this.tokenStorageService.signOut(); |
|
|
|
this.userService.remove(); |
|
|
|
|
|
|
|
this.router.navigate(['/']); |
|
|
|
document.location.href = '/'; |
|
|
|
} |
|
|
|
|
|
|
|
public ngOnDestroy() { |
|
|
|