change loging ttl to 3 months

This commit is contained in:
Adolfo Reyna
2021-11-26 10:39:40 -08:00
parent 75249c9f07
commit 5cadff7aa2

View File

@@ -104,7 +104,7 @@ DB.getDB.then((DB)=>{
});
const cookiesOptions = {
maxAge: 1000 * 60 * 60 * 24 * 30, // would expire after 30 days
maxAge: 1000 * 60 * 60 * 24 * 90, // would expire after 30 days
httpOnly: true, // The cookie only accessible by the web server
//signed: true // Indicates if the cookie should be signed
sameSite: 'none', // This and secure are required for properly