Fixed user consent security issue.

This commit is contained in:
Ylian Saint-Hilaire 2020-04-15 12:36:22 -07:00
parent d7ac67d528
commit 3be7f3c774
2 changed files with 2 additions and 2 deletions

View File

@ -1806,7 +1806,7 @@ function createMeshCore(agent) {
ws.httprequest.xoptions = obj;
// 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;
}

View File

@ -1,6 +1,6 @@
{
"name": "meshcentral",
"version": "0.5.1-u",
"version": "0.5.1-v",
"keywords": [
"Remote Management",
"Intel AMT",