mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
commenting out global.uid setting
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user