1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-10 19:38:11 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {