1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01: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

@ -1 +1 @@
Subproject commit 22c12cf5c4cc1c00792a9717fbb3d85fc53bed99
Subproject commit 476d21e9f07f648784e92e6e7ec4ae37910e2449

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);