diff options
Diffstat (limited to 'controllers/root')
-rw-r--r-- | controllers/root/login.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controllers/root/login.js b/controllers/root/login.js index 431f7f9..dc506cc 100644 --- a/controllers/root/login.js +++ b/controllers/root/login.js @@ -39,5 +39,6 @@ export async function login_post(req, res) { if (Object.keys(page.errors).length === 0) { return res.redirect(302, '/games'); } + res.status(403); return res.render('login', page); } |