mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Changed default policy from 'strict' to 'lax' due to the reasons mentioned in 3d1fab05
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
824f910bfe
commit
387e668275
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ module.exports = {
|
|||
upgradeInsecureRequests: 'auto',
|
||||
reportURI: undefined
|
||||
},
|
||||
cookiePolicy: 'strict',
|
||||
cookiePolicy: 'lax',
|
||||
protocolUseSSL: false,
|
||||
useCDN: false,
|
||||
allowAnonymous: true,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue