Skip to content

Commit

Permalink
Update passport.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ka-lange committed Sep 13, 2023
1 parent 22111b8 commit 7af0ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/config/passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ module.exports = function (passport) {
}
})

if (process.env.NODE_ENV === "local") require("./passportMockUser")()

if (process.env.NODE_ENV === "local") {require("./passportMockUser")()}
else
passport.use(
new DiscordStrategy({
clientID: process.env.DISCORD_CLIENT_ID,
Expand Down

0 comments on commit 7af0ded

Please sign in to comment.