Skip to content

Commit

Permalink
reverting to default settings for most session cookie attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jksolbakken committed Aug 5, 2019
1 parent 180cddc commit 6ba40db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ app.use(
expressSession({
secret: config.server.sessionSecret,
cookie: {
path: '/',
httpOnly: true,
secure: 'development' !== process.env.NODE_ENV,
maxAge: 8 * 60 * 60 * 1000,
sameSite: true
secure: 'development' !== process.env.NODE_ENV
}
})
);
Expand Down

0 comments on commit 6ba40db

Please sign in to comment.