From 7674a3ff5bf495dcf09458fa5945b6c54b3440be Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Tue, 27 Feb 2024 05:14:54 -0500 Subject: [PATCH] Remove biometrics from CLI (#8102) --- apps/cli/src/bw.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/cli/src/bw.ts b/apps/cli/src/bw.ts index 16226d8391..4713b947f0 100644 --- a/apps/cli/src/bw.ts +++ b/apps/cli/src/bw.ts @@ -38,7 +38,6 @@ import { AutofillSettingsServiceAbstraction } from "@bitwarden/common/autofill/s import { ClientType } from "@bitwarden/common/enums"; import { ConfigApiServiceAbstraction } from "@bitwarden/common/platform/abstractions/config/config-api.service.abstraction"; import { KeyGenerationService as KeyGenerationServiceAbstraction } from "@bitwarden/common/platform/abstractions/key-generation.service"; -import { BiometricStateService } from "@bitwarden/common/platform/biometrics/biometric-state.service"; import { KeySuffixOptions, LogLevelType } from "@bitwarden/common/platform/enums"; import { StateFactory } from "@bitwarden/common/platform/factories/state-factory"; import { Account } from "@bitwarden/common/platform/models/domain/account"; @@ -205,7 +204,6 @@ export class Main { derivedStateProvider: DerivedStateProvider; stateProvider: StateProvider; loginStrategyService: LoginStrategyServiceAbstraction; - biometricStateService: BiometricStateService; constructor() { let p = null; @@ -637,7 +635,6 @@ export class Main { this.collectionService.clear(userId as UserId), this.policyService.clear(userId), this.passwordGenerationService.clear(), - this.biometricStateService.logout(userId as UserId), ]); await this.stateService.clean(); process.env.BW_SESSION = null;