From 0c147cc35b44ca92479eb69ee4cc83113777a731 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 21 Apr 2018 23:56:18 -0400 Subject: [PATCH] pass crypto function service more --- jslib | 2 +- src/app/services/services.module.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index fc1114a6bd..5e7115f78d 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit fc1114a6bd66b62b7821958fca2a0c9260c08ddc +Subproject commit 5e7115f78d8a87b241a43fdcd6d53b67ccf0b605 diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index e17537d0de..f37a60c799 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -99,11 +99,11 @@ const syncService = new SyncService(userService, apiService, settingsService, folderService, cipherService, cryptoService, collectionService, storageService, messagingService, (expired: boolean) => messagingService.send('logout', { expired: expired })); const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService); -const totpService = new TotpService(storageService); +const totpService = new TotpService(storageService, cryptoFunctionService); const containerService = new ContainerService(cryptoService, platformUtilsService); const authService = new AuthService(cryptoService, apiService, userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService); -const auditService = new AuditService(cryptoService); +const auditService = new AuditService(cryptoFunctionService); const analytics = new Analytics(window, () => isDev(), platformUtilsService, storageService, appIdService); containerService.attachToWindow(window);