mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 01:21:13 +01:00
Support old themes
This commit is contained in:
@@ -15,7 +15,7 @@ var middleware = require('../middleware');
|
||||
var helpers = module.exports;
|
||||
|
||||
helpers.noScriptErrors = function (req, res, error, httpStatus) {
|
||||
if (req.body.noscript === 'false') {
|
||||
if (req.body.noscript !== 'true') {
|
||||
return res.status(httpStatus).send(error);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user