Updated session max age
This commit is contained in:
parent
736a0afa44
commit
8e0947ed4b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ mongoose
|
|||
|
||||
const sess = {
|
||||
cookie: {
|
||||
maxAge: 86400000,
|
||||
maxAge: 604800000, // INFO: 7 jours
|
||||
},
|
||||
secret,
|
||||
saveUninitialized: false,
|
||||
|
|
Loading…
Reference in a new issue