diff options
author | Sheogorath | 2020-06-08 16:30:26 +0200 |
---|---|---|
committer | Sheogorath | 2020-06-08 16:30:26 +0200 |
commit | 2890022d4d2a8bd04cd6b8895e2e28233dcdd767 (patch) | |
tree | 2bfdf2c1dd0aae4527b6b6b16b302b3666ad2d49 /app.js | |
parent | 7e02a92c457c8879f1d69c4699ad06604d4e1b65 (diff) | |
parent | cdd18aebfdfe50fa1b26b9fa7913de547ff8c78f (diff) |
Merge branch 'fix/sessionCookies'
Diffstat (limited to '')
-rw-r--r-- | app.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 })) |