Fixed AllowedUserIP parsing.
Ylian Saint-Hilaire committed
Jan 7, 2019 at 13:18 UTC
b695b2bf80c682aa317360607764812a63b35de5
2 files changed
+2
-2
meshcentral.js
+1
-1
@@ -252,7 +252,7 @@ function CreateMeshCentralServer(config, args) {
252
if (obj.args.mpsaliasport != null && (typeof obj.args.mpsaliasport != 'number')) obj.args.mpsaliasport = null;
253
if (obj.args.notls == null && obj.args.redirport == null) obj.args.redirport = 80;
254
if (obj.args.minifycore === 0) obj.args.minifycore = false;
255
- if (typeof obj.args.userallowedip == 'string') { if (obj.args.userallowedip == '') { obj.args.userallowedip = null; } else { obj.args.userallowedip = obj.userallowedip.split(','); } }
255
+ if (typeof obj.args.userallowedip == 'string') { if (obj.args.userallowedip == '') { obj.args.userallowedip = null; } else { obj.args.userallowedip = obj.args.userallowedip.split(','); } }
256
if (typeof obj.args.debug == 'number') obj.debugLevel = obj.args.debug;
257
if (obj.args.debug == true) obj.debugLevel = 1;
258
obj.db = require('./db.js').CreateDB(obj);
package.json
+1
-1
@@ -1,6 +1,6 @@
1
{
2
"name": "meshcentral",
3
- "version": "0.2.5-w",
3
+ "version": "0.2.5-x",
4
"keywords": [
5
"Remote Management",
6
"Intel AMT",