1
0
mirror of https://github.com/bitwarden/web synced 2025-12-11 05:43:16 +00:00

Check encKey when importing encrypted JSON (#968)

* Check encKey when importing encrypted JSON

* bump jslib
This commit is contained in:
Thomas Rittson
2021-05-13 11:22:26 +10:00
committed by GitHub
parent 4c1e36462c
commit 7f9f6d3d0e
3 changed files with 6 additions and 3 deletions

View File

@@ -129,9 +129,9 @@ const containerService = new ContainerService(cryptoService);
const authService = new AuthService(cryptoService, apiService,
userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService, vaultTimeoutService,
consoleLogService);
const exportService = new ExportService(folderService, cipherService, apiService);
const exportService = new ExportService(folderService, cipherService, apiService, cryptoService);
const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService,
platformUtilsService);
platformUtilsService, cryptoService);
const notificationsService = new NotificationsService(userService, syncService, appIdService,
apiService, vaultTimeoutService, async () => messagingService.send('logout', { expired: true }), consoleLogService);
const environmentService = new EnvironmentService(apiService, storageService, notificationsService);