default is private

v1.18.x
barisusakli 10 years ago
parent 0d839bdb2c
commit b3f66faa37

@ -496,7 +496,7 @@ middleware.maintenanceMode = function(req, res, next) {
}; };
middleware.publicTagListing = function(req, res, next) { middleware.publicTagListing = function(req, res, next) {
if (req.user || (!meta.config.hasOwnProperty('publicTagListing') || parseInt(meta.config.publicTagListing, 10) === 1)) { if (req.user || parseInt(meta.config.publicTagListing, 10) === 1) {
next(); next();
} else { } else {
controllers.helpers.notAllowed(req, res); controllers.helpers.notAllowed(req, res);

Loading…
Cancel
Save