mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-03 18:05:58 -05:00
Fixed autobackup settings.
This commit is contained in:
parent
7b9db1a5b5
commit
df94210d40
@ -131,8 +131,8 @@ module.exports.escapeHtmlBreaks = function (string) { return String(string).repl
|
|||||||
// Allow for exception keys, child of exceptions will not get lower-cased.
|
// Allow for exception keys, child of exceptions will not get lower-cased.
|
||||||
module.exports.objKeysToLower = function (obj, exceptions) {
|
module.exports.objKeysToLower = function (obj, exceptions) {
|
||||||
for (var i in obj) {
|
for (var i in obj) {
|
||||||
if (i.toLowerCase() !== i) { obj[i.toLowerCase()] = obj[i]; delete obj[i]; } // LowerCase all key names
|
|
||||||
if ((typeof obj[i] == 'object') && ((exceptions == null) || (exceptions.indexOf(i.toLowerCase()) == -1))) { module.exports.objKeysToLower(obj[i], exceptions); } // LowerCase all key names in the child object
|
if ((typeof obj[i] == 'object') && ((exceptions == null) || (exceptions.indexOf(i.toLowerCase()) == -1))) { module.exports.objKeysToLower(obj[i], exceptions); } // LowerCase all key names in the child object
|
||||||
|
if (i.toLowerCase() !== i) { obj[i.toLowerCase()] = obj[i]; delete obj[i]; } // LowerCase all key names
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
};
|
};
|
||||||
|
@ -1724,7 +1724,7 @@ function mainStart() {
|
|||||||
var config = getConfig(false);
|
var config = getConfig(false);
|
||||||
if (config == null) { process.exit(); }
|
if (config == null) { process.exit(); }
|
||||||
|
|
||||||
// Lowercase the auth value is present
|
// Lowercase the auth value if present
|
||||||
for (var i in config.domains) { if (typeof config.domains[i].auth == 'string') { config.domains[i].auth = config.domains[i].auth.toLowerCase(); } }
|
for (var i in config.domains) { if (typeof config.domains[i].auth == 'string') { config.domains[i].auth = config.domains[i].auth.toLowerCase(); } }
|
||||||
|
|
||||||
// Check is Windows SSPI and YubiKey OTP will be used
|
// Check is Windows SSPI and YubiKey OTP will be used
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.3.5-g",
|
"version": "0.3.5-h",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user