disabling updateLastOnlineTime until we can move this key to redis

v1.18.x
psychobunny 11 years ago
parent 056f89d6cf
commit 61895633b3

@ -36,6 +36,8 @@ middleware.authenticate = function(req, res, next) {
middleware.ensureLoggedIn = ensureLoggedIn.ensureLoggedIn(); middleware.ensureLoggedIn = ensureLoggedIn.ensureLoggedIn();
middleware.updateLastOnlineTime = function(req, res, next) { middleware.updateLastOnlineTime = function(req, res, next) {
return next();
if(req.user) { if(req.user) {
user.updateLastOnlineTime(req.user.uid); user.updateLastOnlineTime(req.user.uid);
} }

Loading…
Cancel
Save