Fixed user consent security issue.
This commit is contained in:
parent
d7ac67d528
commit
3be7f3c774
|
@ -1806,7 +1806,7 @@ function createMeshCore(agent) {
|
||||||
ws.httprequest.xoptions = obj;
|
ws.httprequest.xoptions = obj;
|
||||||
|
|
||||||
// Set additional user consent options if present
|
// Set additional user consent options if present
|
||||||
if ((obj != null) && (typeof obj.consent == 'number')) { ws.httprequest.consent += obj.consent; }
|
if ((obj != null) && (typeof obj.consent == 'number')) { ws.httprequest.consent |= obj.consent; }
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.5.1-u",
|
"version": "0.5.1-v",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
|
Loading…
Reference in New Issue