1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

Fix biometric setup not resetting the setting in browser (#15267)

This commit is contained in:
Bernd Schoolmann
2025-06-26 16:41:04 +02:00
committed by GitHub
parent 28e799f2bb
commit 963688b17e

View File

@@ -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) {