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;
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue