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:
parent
811b97cef5
commit
7e934bc6d3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user