1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-28 14:13:22 +00:00

Always get key from storage to ensure biometric prompt. (#952)

* Always get key from storage to ensure biometric prompt.

* Update jslib

* Update jslib
This commit is contained in:
Matt Gibson
2021-06-15 13:40:34 -05:00
committed by GitHub
parent 3b4142bd0d
commit bd0fb024c1
3 changed files with 5 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ export class NativeMessagingService {
});
}
const keyB64 = await (await this.cryptoService.getKey('biometric')).keyB64;
const keyB64 = await (await this.cryptoService.getKeyFromStorage('biometric')).keyB64;
if (keyB64 != null) {
this.send({ command: 'biometricUnlock', response: 'unlocked', keyB64: keyB64 }, appId);