commenting out global.uid setting

This commit is contained in:
Julian Lam
2013-04-25 00:05:17 -04:00
parent 9e5a7b96b3
commit 3eb4f0e1a2
3 changed files with 3 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ var express = require('express'),
// Include this middleware if the endpoint requires a logged in user to view
console.log('REQUIRE: ', global.uid, req.sessionID);
if (!global.uid) {
req.redirect('/403');
res.redirect('/403');
} else {
next();
}