1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

allow low db to cache

This commit is contained in:
Kyle Spearrin
2018-06-05 14:44:51 -04:00
parent 711c5b4621
commit 9a42197981
2 changed files with 2 additions and 2 deletions

2
jslib

Submodule jslib updated: 22c12cf5c4...476d21e9f0

View File

@@ -73,7 +73,7 @@ export class Main {
this.i18nService = new I18nService('en', './locales');
this.platformUtilsService = new NodePlatformUtilsService();
this.cryptoFunctionService = new NodeCryptoFunctionService();
this.storageService = new LowdbStorageService(null, p);
this.storageService = new LowdbStorageService(null, p, true);
this.secureStorageService = new NodeEnvSecureStorageService(this.storageService, () => this.cryptoService);
this.cryptoService = new CryptoService(this.storageService, this.secureStorageService,
this.cryptoFunctionService);