Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/improve the redirection on logout (#642)

Thomas Kaul9d907b5eb592
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c000eb2520..d61e7b5084 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/apps/client/src/app/app.component.ts b/apps/client/src/app/app.component.ts
index aeb996b9d3..7f6774f524 100644
--- a/apps/client/src/app/app.component.ts
+++ b/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() {