v1.18.x
psychobunny 11 years ago
parent 5d1906cd0c
commit 1a18bf22aa

@ -460,7 +460,7 @@ middleware.maintenanceMode = function(req, res, next) {
res.render('maintenance', {
site_title: meta.config.site_title || 'NodeBB'
});
}
};
if (meta.config.maintenanceMode === '1') {
if (!req.user) {

Loading…
Cancel
Save