From bd4d8b12d4496f240ca2cd1001291da0117dd969 Mon Sep 17 00:00:00 2001 From: si458 Date: Wed, 26 Feb 2025 20:51:24 +0000 Subject: [PATCH] fix consent with oldstyle: true and rdp sessions #6816 Signed-off-by: si458 --- agents/meshcore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agents/meshcore.js b/agents/meshcore.js index 31b3c3bd..c7e0f598 100644 --- a/agents/meshcore.js +++ b/agents/meshcore.js @@ -2752,10 +2752,10 @@ function kvm_consent_ask(ws){ return (this.consent); }); } else { - pr = require('message-box').create(consentTitle, consentMessage, ws.httprequest.consentTimeout, null, this.tsid); + pr = require('message-box').create(consentTitle, consentMessage, ws.httprequest.consentTimeout, null, ws.tsid); } } else { - pr = require('message-box').create(consentTitle, consentMessage, ws.httprequest.consentTimeout, null, this.tsid); + pr = require('message-box').create(consentTitle, consentMessage, ws.httprequest.consentTimeout, null, ws.tsid); } pr.ws = ws; ws.pause();