diff --git a/app.js b/app.js index a53c2f5..7e3eb5a 100644 --- a/app.js +++ b/app.js @@ -68,6 +68,7 @@ app.use(session({ store: new RedisStore({ port: settings.redis_port, host: settings.redis_host, + pass : settings.redis_psd, ttl: 1800 // 过期时间 }), resave: true,