mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixes Intel AMT MEI calls.
This commit is contained in:
parent
608c1f0d98
commit
39541f8755
10 changed files with 48 additions and 34 deletions
5
db.js
5
db.js
|
@ -1604,8 +1604,9 @@ module.exports.CreateDB = function (parent, func) {
|
|||
mesh.nolog = 1;
|
||||
delete mesh.type;
|
||||
delete mesh._id;
|
||||
if (mesh.amt != null) {
|
||||
if (delete mesh.amt.password != null) { mesh.amt.password = 1; } // Remove the Intel AMT password if present
|
||||
if ((mesh.amt != null) && (mesh.amt.password != null)) {
|
||||
mesh.amt = Object.assign({}, mesh.amt); // Shallow clone
|
||||
if (mesh.amt.password != null) { mesh.amt.password = 1; } // Remove the Intel AMT password if present
|
||||
}
|
||||
parent.DispatchEvent(['*', mesh.meshid], obj, mesh);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue