mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 22:24:00 -05:00
Merge branch 'fix/sessionCookies'
This commit is contained in:
commit
2890022d4d
1 changed files with 2 additions and 1 deletions
3
app.js
3
app.js
|
@ -140,7 +140,8 @@ app.use(session({
|
|||
rolling: true, // reset maxAge on every response
|
||||
cookie: {
|
||||
maxAge: config.sessionLife,
|
||||
sameSite: 'strict'
|
||||
sameSite: 'strict',
|
||||
secure: config.useSSL || config.protocolUseSSL || false
|
||||
},
|
||||
store: sessionStore
|
||||
}))
|
||||
|
|
Loading…
Reference in a new issue