returning appName only for own extension

This commit is contained in:
antelle 2021-04-10 23:37:24 +02:00
parent 5a1380f9ef
commit 9d4788cb7c
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 2 additions and 2 deletions

View File

@ -111,9 +111,9 @@ const ProtocolHandlers = {
return {
action: 'change-public-keys',
version: getVersion(request),
appName: 'KeeWeb',
publicKey: kdbxweb.ByteUtils.bytesToBase64(keys.publicKey),
success: 'true'
success: 'true',
...(isKeeWebConnect(request) ? { appName: 'KeeWeb' } : undefined)
};
},