diff --git a/src/controllers/accounts.js b/src/controllers/accounts.js index 83e93a108b..721e0255ae 100644 --- a/src/controllers/accounts.js +++ b/src/controllers/accounts.js @@ -37,9 +37,7 @@ function userNotAllowed(res) { if (res.locals.isAPI) { res.status(403).json('not-allowed'); } else { - res.render('403', { - error: 'Not allowed.' - }); + res.render('403'); } }