1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

lock/unlock commands

This commit is contained in:
Kyle Spearrin
2018-05-16 10:25:25 -04:00
parent e7782b2082
commit 8d66118b19
5 changed files with 101 additions and 20 deletions

View File

@@ -78,8 +78,7 @@ export class Main {
this.collectionService = new CollectionService(this.cryptoService, this.userService, this.storageService,
this.i18nService);
this.lockService = new LockService(this.cipherService, this.folderService, this.collectionService,
this.cryptoService, this.platformUtilsService, this.storageService, this.messagingService,
() => { /* do nothing */ });
this.cryptoService, this.platformUtilsService, this.storageService, this.messagingService, null);
this.syncService = new SyncService(this.userService, this.apiService, this.settingsService,
this.folderService, this.cipherService, this.cryptoService, this.collectionService,
this.storageService, this.messagingService, async (expired: boolean) => await this.logout());