diff --git a/packages/cloud/src/SettingsService.ts b/packages/cloud/src/SettingsService.ts index 516654e19d..d849cc03ae 100644 --- a/packages/cloud/src/SettingsService.ts +++ b/packages/cloud/src/SettingsService.ts @@ -39,6 +39,11 @@ export class SettingsService { public initialize(): void { this.loadCachedSettings() + // Clear cached settings if we have missed a log out. + if (this.authService.getState() == "logged-out" && this.settings) { + this.removeSettings() + } + this.authService.on("active-session", () => { this.timer.start() })