Skip to content

Commit

Permalink
feat: added sample .env
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanF1nes committed May 3, 2024
1 parent 6a3f75c commit a294106
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
URL="mongodb+srv://guest_user:[email protected]/members_only?retryWrites=true&w=majority"
SECRET="mongodb"
ADMINCODE="supersecretcode"
3 changes: 1 addition & 2 deletions config/passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ passport.use(new LocalStrategy(async (username, password, done) => {
}
}));

module.exports = passport;

module.exports = passport;

0 comments on commit a294106

Please sign in to comment.