mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 05:53:42 +00:00
Maybe fix process reload
This commit is contained in:
@@ -94,7 +94,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);
|
||||
this.keyService.setUserKey(userKey, userId);
|
||||
return userKey;
|
||||
}
|
||||
@@ -112,7 +111,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);
|
||||
this.keyService.setUserKey(userKey, userId);
|
||||
return userKey;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user