From 298625225ab7fe018794acf8da3f5fba7373d0ee Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 8 Oct 2014 00:06:43 -0400 Subject: [PATCH] use default 403 message for accounts --- src/controllers/accounts.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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'); } }