diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index 4a30e9e045..49a216227d 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -118,7 +118,7 @@ const passwordGenerationService = new PasswordGenerationService(cryptoService, s const totpService = new TotpService(storageService, cryptoFunctionService); const containerService = new ContainerService(cryptoService); const authService = new AuthService(cryptoService, apiService, - userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService); + userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService, vaultTimeoutService); const exportService = new ExportService(folderService, cipherService, apiService); const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService); const notificationsService = new NotificationsService(userService, syncService, appIdService, diff --git a/src/services/webPlatformUtils.service.ts b/src/services/webPlatformUtils.service.ts index 1efe660d6d..b4e34ada33 100644 --- a/src/services/webPlatformUtils.service.ts +++ b/src/services/webPlatformUtils.service.ts @@ -273,4 +273,12 @@ export class WebPlatformUtilsService implements PlatformUtilsService { readFromClipboard(options?: any): Promise { throw new Error('Cannot read from clipboard on web.'); } + + supportsBiometric() { + return Promise.resolve(false); + } + + authenticateBiometric() { + return Promise.resolve(false); + } }