mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added fetching previous Intel AMT activation passwords into table.
This commit is contained in:
parent
d7bf871bca
commit
85ef5fca26
4 changed files with 60 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue