mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix debug logging the public key
This commit is contained in:
parent
6592708e93
commit
aa89c77821
1 changed files with 2 additions and 2 deletions
|
|
@ -793,7 +793,7 @@ kpxc.enablePasskeys = function() {
|
|||
document.addEventListener('kpxc-passkeys-request', async (ev) => {
|
||||
if (ev.detail.action === 'passkeys_create') {
|
||||
const publicKey = kpxcPasskeysUtils.buildCredentialCreationOptions(ev.detail.publicKey);
|
||||
logDebug(publicKey);
|
||||
logDebug('publicKey', publicKey);
|
||||
|
||||
const ret = await sendMessage('passkeys_register', [ publicKey, window.location.origin ]);
|
||||
if (ret) {
|
||||
|
|
@ -807,7 +807,7 @@ kpxc.enablePasskeys = function() {
|
|||
}
|
||||
} else if (ev.detail.action === 'passkeys_get') {
|
||||
const publicKey = kpxcPasskeysUtils.buildCredentialRequestOptions(ev.detail.publicKey);
|
||||
logDebug(publicKey);
|
||||
logDebug('publicKey', publicKey);
|
||||
|
||||
const ret = await sendMessage('passkeys_get', [ publicKey, window.location.origin ]);
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue