diff --git a/app.js b/app.js index 23093ee7..b169fa01 100755 --- a/app.js +++ b/app.js @@ -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 diff --git a/package-lock.json b/package-lock.json index 8a6795c3..66d8ece1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -559,9 +559,9 @@ } }, "@types/mongoose": { - "version": "5.3.10", - "resolved": "https://registry.npmjs.org/@types/mongoose/-/mongoose-5.3.10.tgz", - "integrity": "sha512-Sl5zbzBtjBMdEldbfiZEuF6p1FQZ+7R9TaFYROpeQzBKW9ZK/Xf0Y+E2mtWSNVM3mMjM/Hzw+20K+j/WV6TenQ==", + "version": "5.3.12", + "resolved": "https://registry.npmjs.org/@types/mongoose/-/mongoose-5.3.12.tgz", + "integrity": "sha512-dmZv3H9lXWhLY8XrxJNu+pVUecquReR3AtPxVsnPTcTH/T/YTgxE0zeTavNcqaBUD5XXKtlTy+2VhZxDkn/0Jw==", "dev": true, "requires": { "@types/mongodb": "*", @@ -5763,9 +5763,9 @@ } }, "mongoose": { - "version": "5.4.8", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.4.8.tgz", - "integrity": "sha512-2wgBi1LBxL/pcG0nNP8zXBLRmWZFzg8pb2MH4JkMPIxP/HGtQQEP0DbG1Yzy+Igsp3M1+V/59uXW37O2Fg5mBQ==", + "version": "5.4.9", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.4.9.tgz", + "integrity": "sha512-4dSQpDUe/9b7A7dRrsyJfWmoGEpeMaZ/WZ/KIJFqTHbJm3NUWaWF++hhirAgjtoHNq2ZILIII0LHEhgzP2NuRw==", "requires": { "async": "2.6.1", "bson": "~1.1.0", diff --git a/package.json b/package.json index 5b315bdf..4332f177 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",