From 00bc6cae6aa956d108b4a9ef956c4781a46253ba Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 12 Jul 2021 22:13:29 +0200 Subject: Disable same-site on cookies to allow redirects from gmail, etc. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3