Skip to content

Commit

Permalink
Merge pull request #23 from QuantumStack/dev
Browse files Browse the repository at this point in the history
CMULab 1.4.1
  • Loading branch information
Aditya Pillai authored Sep 24, 2019
2 parents aea6c89 + e22db5b commit d72bdbe
Show file tree
Hide file tree
Showing 5 changed files with 877 additions and 774 deletions.
2 changes: 2 additions & 0 deletions server/.env
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ CMULAB_SMTP_PORT=""
CMULAB_SMTP_USER=""
CMULAB_SMTP_PASS=""

# Session secret
SESSION_SECRET="topsecret"

2 changes: 1 addition & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ passport.serializeUser((user, cb) => {
passport.deserializeUser((obj, cb) => {
cb(null, obj);
});
app.use(session({ secret: 'keyboard cat' }));
app.use(session({ secret: process.env.SESSION_SECRET }));
app.use(passport.initialize());
app.use(passport.session());

Expand Down
Loading

0 comments on commit d72bdbe

Please sign in to comment.