diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-12 22:13:29 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-07-13 00:25:12 +0200 |
commit | 00bc6cae6aa956d108b4a9ef956c4781a46253ba (patch) | |
tree | bd0f58bc4b731f724588a040fa02d25f132da658 | |
parent | 85887a93c45b87f7791d86250a69a07c41268034 (diff) | |
download | server-00bc6cae6aa956d108b4a9ef956c4781a46253ba.tar.gz |
Disable same-site on cookies to allow redirects from gmail, etc.
-rw-r--r-- | server.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ app.use(express_session({ rolling: true, saveUninitialized: false, store: session_store, - cookie: { maxAge: 7 * 24 * 60 * 60 * 1000, sameSite: 'strict' } + cookie: { maxAge: 7 * 24 * 60 * 60 * 1000 } })); app.use(connect_flash()); |