mirror of
https://github.com/bitwarden/browser
synced 2024-12-24 17:11:55 +01:00
Add required KeyConnectorService to vaultTimeoutService (#1294)
This commit is contained in:
parent
40c37143e0
commit
6171aa89a8
@ -128,11 +128,11 @@ searchService = new SearchService(cipherService, consoleLogService, i18nService)
|
||||
const policyService = new PolicyService(userService, storageService, apiService);
|
||||
const sendService = new SendService(cryptoService, userService, apiService, fileUploadService, storageService,
|
||||
i18nService, cryptoFunctionService);
|
||||
const vaultTimeoutService = new VaultTimeoutService(cipherService, folderService, collectionService,
|
||||
cryptoService, platformUtilsService, storageService, messagingService, searchService, userService, tokenService,
|
||||
policyService, null, async () => messagingService.send('logout', { expired: false }));
|
||||
const keyConnectorService = new KeyConnectorService(storageService, userService, cryptoService, apiService,
|
||||
environmentService, tokenService, consoleLogService);
|
||||
const vaultTimeoutService = new VaultTimeoutService(cipherService, folderService, collectionService,
|
||||
cryptoService, platformUtilsService, storageService, messagingService, searchService, userService, tokenService,
|
||||
policyService, keyConnectorService, null, async () => messagingService.send('logout', { expired: false }));
|
||||
const syncService = new SyncService(userService, apiService, settingsService,
|
||||
folderService, cipherService, cryptoService, collectionService, storageService, messagingService, policyService,
|
||||
sendService, consoleLogService, tokenService, keyConnectorService,
|
||||
|
Loading…
Reference in New Issue
Block a user