summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/config/default.js2
-rw-r--r--lib/config/index.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/config/default.js b/lib/config/default.js
index 3d1a1367..38bb164b 100644
--- a/lib/config/default.js
+++ b/lib/config/default.js
@@ -27,7 +27,7 @@ module.exports = {
upgradeInsecureRequests: 'auto',
reportURI: undefined
},
- cookiePolicy: 'strict',
+ cookiePolicy: 'lax',
protocolUseSSL: false,
useCDN: false,
allowAnonymous: true,
diff --git a/lib/config/index.js b/lib/config/index.js
index 020dee13..203b9ef9 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -53,7 +53,7 @@ if (['debug', 'verbose', 'info', 'warn', 'error'].includes(config.loglevel)) {
if (!['strict', 'lax', 'none'].includes(config.cookiePolicy)) {
logger.error('Cookie SameSite policy %s does not exist. Falling back to strict. Available values are: strict, lax, none.', config.cookiePolicy)
- config.cookiePolicy = 'strict'
+ config.cookiePolicy = 'lax'
}
// load LDAP CA