Node.js based forum software built for the modern web
on login update lastonline
barisusakli13e624cc86a9
diff --git a/src/controllers/authentication.js b/src/controllers/authentication.jsindex ce2c652b6a..43707bfccd 100644--- a/src/controllers/authentication.js+++ b/src/controllers/authentication.js@@ -322,6 +322,9 @@ authenticationController.onSuccessfulLogin = function(req, uid, callback) {},function (next) {db.setObjectField('uid:' + uid + 'sessionUUID:sessionId', uuid, req.sessionID, next);+ },+ function (next) {+ user.updateLastOnlineTime(uid, next);}], function(err) {if (err) {