Skip to content

Commit

Permalink
Merge pull request #102 from Discord-Dashboard/blacklisted
Browse files Browse the repository at this point in the history
Update blacklisted.js
  • Loading branch information
iMidnights authored Jun 16, 2024
2 parents da00863 + 2e532ca commit 7962d54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/get/blacklisted.js
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 7962d54

Please sign in to comment.