1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Click once work, UI fixes.

This commit is contained in:
Ylian Saint-Hilaire 2021-03-22 20:04:43 -07:00
parent 1c47f13090
commit d750077f45
5 changed files with 31 additions and 8 deletions

View file

@ -5510,8 +5510,8 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
// Check if we found this device and if we have full rights
if ((node == null) || (rights != 0xFFFFFFFF)) return;
// Perform Intel AMT Click Once Recovery
console.log('ClickOnceRecovery', node._id, file.fullpath);
// Event Intel AMT Click Once Recovery, this will cause Intel AMT wake operations on this and other servers.
parent.parent.DispatchEvent('*', obj, { action: 'clickoncerecovery', userid: user._id, username: user.name, nodeids: [node._id], domain: domain.id, nolog: 1, file: file.fullpath });
});
}