From 2e532ca7ad14b9196ccb31947682d5d088927237 Mon Sep 17 00:00:00 2001 From: iMidnight Date: Fri, 20 Oct 2023 23:14:31 +0100 Subject: [PATCH] Update blacklisted.js --- pages/get/blacklisted.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/get/blacklisted.js b/pages/get/blacklisted.js index ab674757..965ac467 100644 --- a/pages/get/blacklisted.js +++ b/pages/get/blacklisted.js @@ -1,6 +1,7 @@ module.exports = { page: '/blacklisted', execute: async (req, res, app, config, themeConfig, info) => { + if (!req?.session?.user?.blacklisted) return res.redirect('/') res.render('blacklisted', { req, config,