Authored by htoooth

'fixsimple'

... ... @@ -103,11 +103,17 @@ function actionLoginInfo() {
var uid = getUid(), //eslint-disable-line
profileName = getProfileName(); // eslint-disable-line
if (uid === 0) {
return;
}
var info = {
random: $.now(),
profileName: profileName
};
setLoginStatus({random: $.now(), profileName: profileName});
if (uid !== 0) {
info.result = 1;
} else {
info.result = -1;
}
setLoginStatus(info);
}());
... ...