mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Send key to browser.
This commit is contained in:
@@ -63,7 +63,7 @@ export class NativeMessagingService {
|
|||||||
|
|
||||||
const response = await this.platformUtilService.authenticateBiometric();
|
const response = await this.platformUtilService.authenticateBiometric();
|
||||||
if (response) {
|
if (response) {
|
||||||
this.send({command: 'biometricUnlock', response: 'unlocked'});
|
this.send({command: 'biometricUnlock', response: 'unlocked', keyB64: (await this.cryptoService.getKey()).keyB64});
|
||||||
} else {
|
} else {
|
||||||
this.send({command: 'biometricUnlock', response: 'canceled'});
|
this.send({command: 'biometricUnlock', response: 'canceled'});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user