mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Fix biometrics not being enabled in browser (#12237)
This commit is contained in:
@@ -438,8 +438,8 @@ export class AccountSecurityComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
const successful = await this.trySetupBiometrics();
|
const successful = await this.trySetupBiometrics();
|
||||||
this.form.controls.biometric.setValue(successful);
|
this.form.controls.biometric.setValue(successful);
|
||||||
|
await this.biometricStateService.setBiometricUnlockEnabled(successful);
|
||||||
if (!successful) {
|
if (!successful) {
|
||||||
await this.biometricStateService.setBiometricUnlockEnabled(false);
|
|
||||||
await this.biometricStateService.setFingerprintValidated(false);
|
await this.biometricStateService.setFingerprintValidated(false);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user