mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 21:02:53 -05:00
fix consent with oldstyle: true and rdp sessions #6816
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -2752,10 +2752,10 @@ function kvm_consent_ask(ws){
|
|||||||
return (this.consent);
|
return (this.consent);
|
||||||
});
|
});
|
||||||
} else {
|
} 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 {
|
} 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;
|
pr.ws = ws;
|
||||||
ws.pause();
|
ws.pause();
|
||||||
|
|||||||
Reference in New Issue
Block a user