Updated KVM User-Consent to be compatible with RDP
Bryan Roe committed
May 17, 2020 at 01:42 UTC
3d20744c6f3ef8e6ac691d8634d2b4c1ed87c1ef
1 file changed
+1
-1
agents/meshcore.js
+1
-1
@@ -1537,7 +1537,7 @@ function createMeshCore(agent) {
1537
// User Consent Prompt is required
1538
// Send a console message back using the console channel, "\n" is supported.
1539
this.write(JSON.stringify({ ctrlChannel: '102938', type: 'console', msg: "Waiting for user to grant access...", msgid: 1 }));
1540
- var pr = require('message-box').create('MeshCentral', this.httprequest.username + " requesting KVM Access. Grant access?", 30);
1540
+ var pr = require('message-box').create('MeshCentral', this.httprequest.username + " requesting KVM Access. Grant access?", 30, null, tsid);
1541
pr.ws = this;
1542
this.pause();
1543
this._consentpromise = pr;