fix web routes

This commit is contained in:
reality 2013-08-12 22:14:14 +00:00
parent a3d18884aa
commit e757ee34df

View File

@ -176,9 +176,10 @@ var webInterface = function(dbot) {
return next(); return next();
} }
} else { } else {
console.log(req);
res.render('login', { res.render('login', {
'message': 'You need to log in to access this module.', 'message': 'You need to log in to access this module.',
'redirect': module 'redirect': req.originalUrl
}); });
} }
} else { } else {