Support old themes

This commit is contained in:
André Zanghelini
2017-07-02 15:45:31 -03:00
parent 4a09dfbd08
commit 7d984c47ad

View File

@@ -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);
}