Fixed autobackup settings.
Ylian Saint-Hilaire committed
May 27, 2019 at 11:58 UTC
3ab8061d5916f41489f5980760e888a4e233b8ba
3 files changed
+3
-3
common.js
+1
-1
@@ -131,8 +131,8 @@ module.exports.escapeHtmlBreaks = function (string) { return String(string).repl
131
// Allow for exception keys, child of exceptions will not get lower-cased.
132
module.exports.objKeysToLower = function (obj, exceptions) {
133
for (var i in obj) {
134
- if (i.toLowerCase() !== i) { obj[i.toLowerCase()] = obj[i]; delete obj[i]; } // LowerCase all key names
134
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
135
+ if (i.toLowerCase() !== i) { obj[i.toLowerCase()] = obj[i]; delete obj[i]; } // LowerCase all key names
136
}
137
return obj;
138
};
meshcentral.js
+1
-1
@@ -1724,7 +1724,7 @@ function mainStart() {
1724
var config = getConfig(false);
1725
if (config == null) { process.exit(); }
1726
1727
- // Lowercase the auth value is present
1727
+ // Lowercase the auth value if present
1728
for (var i in config.domains) { if (typeof config.domains[i].auth == 'string') { config.domains[i].auth = config.domains[i].auth.toLowerCase(); } }
1729
1730
// Check is Windows SSPI and YubiKey OTP will be used
package.json
+1
-1
@@ -1,6 +1,6 @@
1
{
2
"name": "meshcentral",
3
- "version": "0.3.5-g",
3
+ "version": "0.3.5-h",
4
"keywords": [
5
"Remote Management",
6
"Intel AMT",