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 = {
cookie: {
maxAge: 86400000,
maxAge: 604800000, // INFO: 7 jours
},
secret,
saveUninitialized: false,