mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed user consent security issue.
This commit is contained in:
parent
37236021d7
commit
9be8af9214
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue