diff --git a/src/controllers/helpers.js b/src/controllers/helpers.js index cbc9f35110..b936bf3f8d 100644 --- a/src/controllers/helpers.js +++ b/src/controllers/helpers.js @@ -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); }