From af1025f3d840946e4bf9236694ea3199b516e737 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Mon, 20 Jan 2025 16:24:34 +0100 Subject: [PATCH] Move trust logic to only occur when fingerprint setting is enabled --- .../src/services/biometric-message-handler.service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/desktop/src/services/biometric-message-handler.service.ts b/apps/desktop/src/services/biometric-message-handler.service.ts index 91cdcc2afa0..dceaa558e98 100644 --- a/apps/desktop/src/services/biometric-message-handler.service.ts +++ b/apps/desktop/src/services/biometric-message-handler.service.ts @@ -444,11 +444,11 @@ export class BiometricMessageHandlerService { } async validateFingerprint(appId: string): Promise { - if ((await this.connectedApps.has(appId)) && (await this.connectedApps.get(appId)).trusted) { - return true; - } - if (await firstValueFrom(this.desktopSettingService.browserIntegrationFingerprintEnabled$)) { + if ((await this.connectedApps.has(appId)) && (await this.connectedApps.get(appId)).trusted) { + return true; + } + ipc.platform.nativeMessaging.sendMessage({ command: "verifyDesktopIPCFingerprint", appId: appId,