Commit 3f2b0628 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

manage session

parent a8127cf0
...@@ -30,7 +30,8 @@ app.use(session( ...@@ -30,7 +30,8 @@ app.use(session(
{ {
resave: true, resave: true,
saveUninitialized: true, saveUninitialized: true,
secret: config.app.sessionSecret //secret: config.app.sessionSecret
secret: 'thisisasecret-thisisasecret-thisisasecret'
} }
)) ))
app.use(passport.initialize()) app.use(passport.initialize())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment