mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
linting
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user