From b4c8bdf4687ffccaf97c509969aa65772722ba90 Mon Sep 17 00:00:00 2001 From: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com> Date: Fri, 17 May 2024 17:06:29 -0400 Subject: [PATCH] PM-5501 - Remove no longer necessary global default vault timeout values; there are no references to them after the state provider migration. (#9240) --- apps/desktop/src/main.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts index d11fceeacc9..63d6e062a1e 100644 --- a/apps/desktop/src/main.ts +++ b/apps/desktop/src/main.ts @@ -119,9 +119,6 @@ export class Main { this.logService = new ElectronLogMainService(null, app.getPath("userData")); const storageDefaults: any = {}; - // Default vault timeout to "on restart", and action to "lock" - storageDefaults["global.vaultTimeout"] = -1; - storageDefaults["global.vaultTimeoutAction"] = "lock"; this.storageService = new ElectronStorageService(app.getPath("userData"), storageDefaults); this.memoryStorageService = new MemoryStorageService(); this.memoryStorageForStateProviders = new MemoryStorageServiceForStateProviders();