it's in milliseconds..
This commit is contained in:
parent
6e07960150
commit
914a03b21f
@ -31,7 +31,7 @@ app.use(session({
|
||||
saveUninitialized: true,
|
||||
cookie: {
|
||||
secure: process.env.NODE_ENV !== 'development',
|
||||
maxAge: 2678400 // 1 month
|
||||
maxAge: 2678400000 // 1 month
|
||||
}
|
||||
}))
|
||||
|
||||
|
Reference in New Issue
Block a user