Send key to browser.
This commit is contained in:
parent
2ac6148821
commit
a6563e7de2
|
@ -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'});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue