Skip to content

Commit

Permalink
Merge pull request #329 from hackmcgill/develop
Browse files Browse the repository at this point in the history
Merge into Master
  • Loading branch information
YiFeiZhang2 authored Feb 2, 2019
2 parents 1a4c43b + 85972bb commit 6982db6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ app.use(cookieSession({
name: "session",
keys: [process.env.COOKIE_SECRET],
// Cookie Options
maxAge: 60 * 60 * 1000 //Logged in for 1 hour
maxAge: 48 * 60 * 60 * 1000 //Logged in for 48 hours
}));
app.use(passport.initialize());
app.use(passport.session()); //persistent login session
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"handlebars": "^4.0.12",
"jsonwebtoken": "^8.1.0",
"memory-cache": "^0.2.0",
"mongoose": "^5.4.8",
"mongoose": "^5.4.9",
"multer": "^1.3.1",
"passport": "^0.4.0",
"passport-local": "^1.0.0",
Expand All @@ -39,7 +39,7 @@
"@types/express": "^4.16.1",
"@types/google-cloud__storage": "^1.7.2",
"@types/mongodb": "^3.1.19",
"@types/mongoose": "^5.3.10",
"@types/mongoose": "^5.3.12",
"@types/multer": "^1.3.7",
"apidoc": "^0.17.7",
"chai-http": "^4.2.1",
Expand Down

0 comments on commit 6982db6

Please sign in to comment.