|
|
@ -383,7 +383,7 @@ authenticationController.onSuccessfulLogin = async function (req, uid) {
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
user.auth.addSession(uid, req.sessionID),
|
|
|
|
user.auth.addSession(uid, req.sessionID),
|
|
|
|
user.updateLastOnlineTime(uid),
|
|
|
|
user.updateLastOnlineTime(uid),
|
|
|
|
user.updateOnlineUsers(uid),
|
|
|
|
user.onUserOnline(uid, Date.now()),
|
|
|
|
analytics.increment('logins'),
|
|
|
|
analytics.increment('logins'),
|
|
|
|
db.incrObjectFieldBy('global', 'loginCount', 1),
|
|
|
|
db.incrObjectFieldBy('global', 'loginCount', 1),
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|