mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added expires option for mongo_configs
This commit is contained in:
@@ -45,7 +45,7 @@ app.use(session({
|
||||
host: mongo_db_cred.host,
|
||||
port: 27017,
|
||||
collection: 'sessions',
|
||||
expire: 86400
|
||||
expire: mongo_db_cred.expire
|
||||
})
|
||||
})); // session secret
|
||||
app.use(passport.initialize());
|
||||
|
||||
Reference in New Issue
Block a user