1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Fix biometrics not being enabled in browser (#12237)

This commit is contained in:
Bernd Schoolmann
2024-12-04 17:04:14 +01:00
committed by GitHub
parent 811b97cef5
commit 7e934bc6d3

View File

@@ -438,8 +438,8 @@ export class AccountSecurityComponent implements OnInit, OnDestroy {
const successful = await this.trySetupBiometrics();
this.form.controls.biometric.setValue(successful);
await this.biometricStateService.setBiometricUnlockEnabled(successful);
if (!successful) {
await this.biometricStateService.setBiometricUnlockEnabled(false);
await this.biometricStateService.setFingerprintValidated(false);
}
} else {