From 963688b17ece0536da3e90a11ffcd39581e304bc Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 26 Jun 2025 16:41:04 +0200 Subject: [PATCH] Fix biometric setup not resetting the setting in browser (#15267) --- .../src/auth/popup/settings/account-security.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/browser/src/auth/popup/settings/account-security.component.ts b/apps/browser/src/auth/popup/settings/account-security.component.ts index 066332b0e2..4f9e1f7414 100644 --- a/apps/browser/src/auth/popup/settings/account-security.component.ts +++ b/apps/browser/src/auth/popup/settings/account-security.component.ts @@ -533,6 +533,7 @@ export class AccountSecurityComponent implements OnInit, OnDestroy { await this.biometricStateService.setBiometricUnlockEnabled(successful); if (!successful) { await this.biometricStateService.setFingerprintValidated(false); + return; } this.toastService.showToast({ variant: "success", @@ -597,6 +598,8 @@ export class AccountSecurityComponent implements OnInit, OnDestroy { this.i18nService.t("errorEnableBiometricTitle"), this.i18nService.t("errorEnableBiometricDesc"), ); + setupResult = false; + return; } setupResult = true; } catch (e) {