summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-12 22:13:29 +0200
committerTor Andersson <tor@ccxvii.net>2021-07-13 00:25:12 +0200
commit00bc6cae6aa956d108b4a9ef956c4781a46253ba (patch)
treebd0f58bc4b731f724588a040fa02d25f132da658
parent85887a93c45b87f7791d86250a69a07c41268034 (diff)
downloadserver-00bc6cae6aa956d108b4a9ef956c4781a46253ba.tar.gz
Disable same-site on cookies to allow redirects from gmail, etc.
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index 56e9ce7..be85789 100644
--- a/server.js
+++ b/server.js
@@ -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());