From 5cf209257673191a8a2a62d656f09f3da1218f4a Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 15 May 2019 14:26:23 -0400 Subject: [PATCH] register lock service --- src/Core/Utilities/ServiceContainer.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Core/Utilities/ServiceContainer.cs b/src/Core/Utilities/ServiceContainer.cs index c7c7f1e0f..a7602df38 100644 --- a/src/Core/Utilities/ServiceContainer.cs +++ b/src/Core/Utilities/ServiceContainer.cs @@ -41,7 +41,8 @@ namespace Bit.Core.Utilities i18nService, cipherService); var collectionService = new CollectionService(cryptoService, userService, storageService, i18nService); searchService = new SearchService(cipherService); - // TODO: lock service + var lockService = new LockService(cryptoService, userService, platformUtilsService, storageService, + folderService, cipherService, collectionService, searchService, messagingService); var syncService = new SyncService(userService, apiService, settingsService, folderService, cipherService, cryptoService, collectionService, storageService, messagingService); var passwordGenerationService = new PasswordGenerationService(cryptoService, storageService, @@ -67,6 +68,7 @@ namespace Bit.Core.Utilities Register("collectionService", collectionService); Register("searchService", searchService); Register("syncService", syncService); + Register("lockService", lockService); Register("passwordGenerationService", passwordGenerationService); Register("totpService", totpService); Register("authService", authService);