fix consent with oldstyle: true and rdp sessions #6816
Signed-off-by: si458 <simonsmith5521@gmail.com>
si458 committed
Feb 26, 2025 at 20:51 UTC
bd4d8b12d4496f240ca2cd1001291da0117dd969
1 file changed
+2
-2
agents/meshcore.js
+2
-2
@@ -2752,10 +2752,10 @@ function kvm_consent_ask(ws){
2752
return (this.consent);
2753
});
2754
} else {
2755
- pr = require('message-box').create(consentTitle, consentMessage, ws.httprequest.consentTimeout, null, this.tsid);
2755
+ pr = require('message-box').create(consentTitle, consentMessage, ws.httprequest.consentTimeout, null, ws.tsid);
2756
}
2757
} else {
2758
- pr = require('message-box').create(consentTitle, consentMessage, ws.httprequest.consentTimeout, null, this.tsid);
2758
+ pr = require('message-box').create(consentTitle, consentMessage, ws.httprequest.consentTimeout, null, ws.tsid);
2759
}
2760
pr.ws = ws;
2761
ws.pause();