I may have corrected the bug

This commit is contained in:
Thomas FORGIONE
2015-08-31 13:05:05 +02:00
parent dabe05c39b
commit 776ccfcc4f
4 changed files with 19 additions and 3 deletions

View File

@@ -1,4 +1,8 @@
module.exports.index = function(req, res) {
req.session = null;
res.locals.session = null;
res.setHeader('Content-Type', 'text/html');
res.render('index.jade', res.locals, function(err, result) {