Merge branch 'main' of github.com:ghostfolio/ghostfolio
All checks were successful
Docker image CD / build_and_push (push) Successful in 33m46s

This commit is contained in:
sudacode 2025-02-20 09:59:05 -08:00
commit 78494dd480
2 changed files with 7 additions and 4 deletions

View File

@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Improved the error handling in the `HttpResponseInterceptor`
- Added missing assets in _Storybook_ setup - Added missing assets in _Storybook_ setup
## 2.139.1 - 2025-02-15 ## 2.139.1 - 2025-02-15

View File

@ -108,10 +108,12 @@ export class HttpResponseInterceptor implements HttpInterceptor {
}); });
} }
} else if (error.status === StatusCodes.UNAUTHORIZED) { } else if (error.status === StatusCodes.UNAUTHORIZED) {
if (this.webAuthnService.isEnabled()) { if (!error.url.includes('/data-providers/ghostfolio/status')) {
this.router.navigate(['/webauthn']); if (this.webAuthnService.isEnabled()) {
} else if (!error.url.includes('/data-providers/ghostfolio/status')) { this.router.navigate(['/webauthn']);
this.tokenStorageService.signOut(); } else {
this.tokenStorageService.signOut();
}
} }
} }