light cleanup
parent
75592aa5d1
commit
6d60b4a972
|
|
@ -37,7 +37,7 @@ module.exports = function(s,config,lang){
|
|||
tx({
|
||||
f : 'init_success',
|
||||
childNodes : s.childNodes
|
||||
});
|
||||
})
|
||||
}else{
|
||||
switch(d.f){
|
||||
case'cpu':
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue