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