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,