housekeeping

v1.18.x
Julian Lam 12 years ago
parent 3ef6cf6cb2
commit de26a303d4

@ -26,8 +26,8 @@ var fs = require('fs');
Templates.init = function() {
loadTemplates([
'header', 'footer', 'register', 'home', 'topic',
'login', 'reset', 'reset_code', 'account_settings',
'logout', '403',
'login', 'reset', 'reset_code', 'logout',
'403',
'emails/reset', 'emails/reset_plaintext'
]);
}

@ -58,7 +58,6 @@ passport.deserializeUser(function(uid, done) {
if (/^\/api\//.test(req.url)) return next();
if (req.user && req.user.uid) {
console.log('** YOU ARE LOGGED IN AS UID: ' + req.user.uid + ' ***');
global.modules.user.session_ping(req.sessionID, req.user.uid);
}

Loading…
Cancel
Save