mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
Remove setting setFingerprintValidated to true (#12874)
Co-authored-by: Jake Fink <jfink@bitwarden.com>
This commit is contained in:
@@ -98,7 +98,6 @@ export class BackgroundBrowserBiometricsService extends BiometricsService {
|
|||||||
const userKey = new SymmetricCryptoKey(decodedUserkey) as UserKey;
|
const userKey = new SymmetricCryptoKey(decodedUserkey) as UserKey;
|
||||||
if (await this.keyService.validateUserKey(userKey, userId)) {
|
if (await this.keyService.validateUserKey(userKey, userId)) {
|
||||||
await this.biometricStateService.setBiometricUnlockEnabled(true);
|
await this.biometricStateService.setBiometricUnlockEnabled(true);
|
||||||
await this.biometricStateService.setFingerprintValidated(true);
|
|
||||||
await this.keyService.setUserKey(userKey, userId);
|
await this.keyService.setUserKey(userKey, userId);
|
||||||
// to update badge and other things
|
// to update badge and other things
|
||||||
this.messagingService.send("switchAccount", { userId });
|
this.messagingService.send("switchAccount", { userId });
|
||||||
@@ -118,7 +117,6 @@ export class BackgroundBrowserBiometricsService extends BiometricsService {
|
|||||||
const userKey = new SymmetricCryptoKey(decodedUserkey) as UserKey;
|
const userKey = new SymmetricCryptoKey(decodedUserkey) as UserKey;
|
||||||
if (await this.keyService.validateUserKey(userKey, userId)) {
|
if (await this.keyService.validateUserKey(userKey, userId)) {
|
||||||
await this.biometricStateService.setBiometricUnlockEnabled(true);
|
await this.biometricStateService.setBiometricUnlockEnabled(true);
|
||||||
await this.biometricStateService.setFingerprintValidated(true);
|
|
||||||
await this.keyService.setUserKey(userKey, userId);
|
await this.keyService.setUserKey(userKey, userId);
|
||||||
// to update badge and other things
|
// to update badge and other things
|
||||||
this.messagingService.send("switchAccount", { userId });
|
this.messagingService.send("switchAccount", { userId });
|
||||||
|
|||||||
Reference in New Issue
Block a user