Skip to content

Node.js based forum software built for the modern web

use default 403 message for accounts

psychobunny298625225ab7
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');
}
}