diff --git a/common/src/services/state.service.ts b/common/src/services/state.service.ts index 7c5ae54a..92cd6092 100644 --- a/common/src/services/state.service.ts +++ b/common/src/services/state.service.ts @@ -52,12 +52,6 @@ export class StateService implements StateServiceAbstraction { async loadStateFromDisk() { if (await this.getActiveUserIdFromStorage() != null) { const diskState = await this.storageService.get('state', await this.defaultOnDiskOptions()); - for (const userId in diskState?.accounts) { - if (userId == null) { - continue; - } - diskState.accounts[userId].accessToken = null; - } this.state = diskState; await this.storageService.save('state', diskState, await this.defaultOnDiskMemoryOptions()); }