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 policyService = new PolicyService(userService, storageService, apiService);
|
||||||
const sendService = new SendService(cryptoService, userService, apiService, fileUploadService, storageService,
|
const sendService = new SendService(cryptoService, userService, apiService, fileUploadService, storageService,
|
||||||
i18nService, cryptoFunctionService);
|
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,
|
const keyConnectorService = new KeyConnectorService(storageService, userService, cryptoService, apiService,
|
||||||
environmentService, tokenService, consoleLogService);
|
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,
|
const syncService = new SyncService(userService, apiService, settingsService,
|
||||||
folderService, cipherService, cryptoService, collectionService, storageService, messagingService, policyService,
|
folderService, cipherService, cryptoService, collectionService, storageService, messagingService, policyService,
|
||||||
sendService, consoleLogService, tokenService, keyConnectorService,
|
sendService, consoleLogService, tokenService, keyConnectorService,
|
||||||
|
|
Loading…
Reference in New Issue