mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Added fetching previous Intel AMT activation passwords into table.
This commit is contained in:
@@ -294,6 +294,8 @@ module.exports.meshServerRightsArrayToNumber = function (val) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Sort an object by key
|
||||
module.exports.sortObj = function (obj) { return Object.keys(obj).sort().reduce(function (result, key) { result[key] = obj[key]; return result; }, {}); }
|
||||
|
||||
// Validate an object to make sure it can be stored in MongoDB
|
||||
module.exports.validateObjectForMongo = function (obj, maxStrLen) {
|
||||
|
||||
Reference in New Issue
Block a user