Updated session max age

This commit is contained in:
Damien Broqua 2023-12-15 08:36:06 +01:00
parent 736a0afa44
commit 8e0947ed4b

View file

@ -37,7 +37,7 @@ mongoose
const sess = { const sess = {
cookie: { cookie: {
maxAge: 86400000, maxAge: 604800000, // INFO: 7 jours
}, },
secret, secret,
saveUninitialized: false, saveUninitialized: false,