From 1d67d17e7028698121b3f06c1be1b6b0e33fc087 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Sun, 17 May 2020 01:42:32 -0700 Subject: [PATCH] Updated KVM User-Consent to be compatible with RDP --- agents/meshcore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/meshcore.js b/agents/meshcore.js index 36d47c4b..a6fea1e0 100644 --- a/agents/meshcore.js +++ b/agents/meshcore.js @@ -1537,7 +1537,7 @@ function createMeshCore(agent) { // User Consent Prompt is required // Send a console message back using the console channel, "\n" is supported. this.write(JSON.stringify({ ctrlChannel: '102938', type: 'console', msg: "Waiting for user to grant access...", msgid: 1 })); - var pr = require('message-box').create('MeshCentral', this.httprequest.username + " requesting KVM Access. Grant access?", 30); + var pr = require('message-box').create('MeshCentral', this.httprequest.username + " requesting KVM Access. Grant access?", 30, null, tsid); pr.ws = this; this.pause(); this._consentpromise = pr;