Merge branch 'main' of github.com:ghostfolio/ghostfolio
All checks were successful
Docker image CD / build_and_push (push) Successful in 33m46s
All checks were successful
Docker image CD / build_and_push (push) Successful in 33m46s
This commit is contained in:
commit
78494dd480
@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Fixed
|
||||
|
||||
- Improved the error handling in the `HttpResponseInterceptor`
|
||||
- Added missing assets in _Storybook_ setup
|
||||
|
||||
## 2.139.1 - 2025-02-15
|
||||
|
@ -108,12 +108,14 @@ export class HttpResponseInterceptor implements HttpInterceptor {
|
||||
});
|
||||
}
|
||||
} else if (error.status === StatusCodes.UNAUTHORIZED) {
|
||||
if (!error.url.includes('/data-providers/ghostfolio/status')) {
|
||||
if (this.webAuthnService.isEnabled()) {
|
||||
this.router.navigate(['/webauthn']);
|
||||
} else if (!error.url.includes('/data-providers/ghostfolio/status')) {
|
||||
} else {
|
||||
this.tokenStorageService.signOut();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return throwError(error);
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user