mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Send RequestId for supporting asynchronous Access Control dialog
This commit is contained in:
parent
cc868b9502
commit
c892cea0f1
2 changed files with 3 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ keepassClient.buildRequest = function(action, encrypted, nonce, clientID, trigge
|
|||
keepassClient.sendMessage = async function(kpAction, tab, messageData, nonce, enableTimeout = false, triggerUnlock = false) {
|
||||
const request = keepassClient.buildRequest(kpAction, keepassClient.encrypt(messageData, nonce), nonce, keepass.clientID, triggerUnlock);
|
||||
if (messageData.requestID) {
|
||||
request["requestID"] = messageData.requestID;
|
||||
request['requestID'] = messageData.requestID;
|
||||
}
|
||||
|
||||
const response = await keepassClient.sendNativeMessage(request, enableTimeout);
|
||||
|
|
|
|||
|
|
@ -137,7 +137,8 @@ keepass.retrieveCredentials = async function(tab, args = []) {
|
|||
action: kpAction,
|
||||
id: dbid,
|
||||
url: url,
|
||||
keys: keys
|
||||
keys: keys,
|
||||
requestID: keepassClient.getRequestId()
|
||||
};
|
||||
|
||||
if (submiturl) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue