fixed potential guestSearch config bug

v1.18.x
akhoury 11 years ago
parent 3ad98f3783
commit d9eefd667c

@ -741,7 +741,7 @@ var path = require('path'),
});
app.get('/search/:term', function (req, res) {
if (!req.user && !meta.config.allowGuestSearching) {
if (!req.user && meta.config.allowGuestSearching !== '1') {
return res.redirect('/403');
}

Loading…
Cancel
Save