mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
closes #2304
This commit is contained in:
@@ -97,7 +97,7 @@ chatsController.get = function (req, res, callback) {
|
||||
|
||||
chatsController.redirectToChat = function (req, res, next) {
|
||||
var roomid = parseInt(req.params.roomid, 10);
|
||||
if (!req.uid) {
|
||||
if (!req.loggedIn) {
|
||||
return next();
|
||||
}
|
||||
async.waterfall([
|
||||
|
||||
Reference in New Issue
Block a user