mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
fixed search routes
This commit is contained in:
@@ -50,6 +50,8 @@ middleware.guestSearchingAllowed = function(req, res, next) {
|
||||
if (!req.user && meta.config.allowGuestSearching !== '1') {
|
||||
return res.redirect('/403');
|
||||
}
|
||||
|
||||
next();
|
||||
};
|
||||
|
||||
middleware.checkGlobalPrivacySettings = function(req, res, next) {
|
||||
|
||||
Reference in New Issue
Block a user