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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user