diff --git a/libs/childNode.js b/libs/childNode.js index e4807013..f5dd3315 100644 --- a/libs/childNode.js +++ b/libs/childNode.js @@ -37,7 +37,7 @@ module.exports = function(s,config,lang){ tx({ f : 'init_success', childNodes : s.childNodes - }); + }) }else{ switch(d.f){ case'cpu': diff --git a/libs/socketio.js b/libs/socketio.js index 28a833a7..965bf9f6 100644 --- a/libs/socketio.js +++ b/libs/socketio.js @@ -1081,6 +1081,7 @@ module.exports = function(s,config,lang,io){ currentSuperUser = Object.assign(currentSuperUser,d.form) //reset email and log change of email if(d.form.mail !== cn.mail){ + logDetails.newEmail = d.form.mail logDetails.oldEmail = cn.mail + '' cn.mail = d.form.mail }