mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
PM-5501 - Remove no longer necessary global default vault timeout values; there are no references to them after the state provider migration. (#9240)
This commit is contained in:
@@ -119,9 +119,6 @@ export class Main {
|
|||||||
this.logService = new ElectronLogMainService(null, app.getPath("userData"));
|
this.logService = new ElectronLogMainService(null, app.getPath("userData"));
|
||||||
|
|
||||||
const storageDefaults: any = {};
|
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.storageService = new ElectronStorageService(app.getPath("userData"), storageDefaults);
|
||||||
this.memoryStorageService = new MemoryStorageService();
|
this.memoryStorageService = new MemoryStorageService();
|
||||||
this.memoryStorageForStateProviders = new MemoryStorageServiceForStateProviders();
|
this.memoryStorageForStateProviders = new MemoryStorageServiceForStateProviders();
|
||||||
|
|||||||
Reference in New Issue
Block a user