1
0
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:
Thomas Avery 2025-01-15 12:47:01 -06:00 committed by GitHub
parent 494d349b57
commit b0957cf1f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 });