use default 403 message for accounts

v1.18.x
psychobunny 11 years ago
parent 7bd49a96b2
commit 298625225a

@ -37,9 +37,7 @@ function userNotAllowed(res) {
if (res.locals.isAPI) { if (res.locals.isAPI) {
res.status(403).json('not-allowed'); res.status(403).json('not-allowed');
} else { } else {
res.render('403', { res.render('403');
error: 'Not allowed.'
});
} }
} }

Loading…
Cancel
Save