From a3b74559f850572e7053a32cdcbca8980088f14d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 21 Jan 2021 19:53:37 +0100 Subject: Whooops --- admin/index.js | 1 - 1 file changed, 1 deletion(-) (limited to 'admin/index.js') diff --git a/admin/index.js b/admin/index.js index f7b7c7b..a67b9f3 100644 --- a/admin/index.js +++ b/admin/index.js @@ -7,7 +7,6 @@ const { checkUser, checkAdmin } = require("../auth"); app.use( "/", (req, res, next) => { - console.log(req.path); if ((req.session.loggedIn && req.session.isAdmin) || req.path.startsWith("/api/votes")) next(); else res.redirect("/"); }, -- cgit v1.2.3