From c90a144d1ad729b98c8ed6b9f87ae73bb40b5fe7 Mon Sep 17 00:00:00 2001 From: b1ek Date: Mon, 27 Feb 2023 23:40:48 +1000 Subject: [PATCH] remove leftover debug statement --- routes/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/admin.js b/routes/admin.js index e769906..10c1e7f 100644 --- a/routes/admin.js +++ b/routes/admin.js @@ -90,7 +90,7 @@ module.exports = (router) => { return; } - if (user.accessLevel < 4 || true) { + if (user.accessLevel < 4) { res.status(401).send('Forbidden'); return; }