samesite options

This commit is contained in:
s2
2020-08-05 12:00:57 +02:00
parent f9fb05e4db
commit cf251a170f

View File

@@ -27,7 +27,8 @@
lookupQuerystring: 'lang',
lookupCookie: 'current-language',
caches: ['cookie'],
cookieMinutes: 5256000
cookieMinutes: 5256000,
cookieOptions: {samesite: 'lax'}
},
whitelist: ['en', 'de', 'it'],
load: 'languageOnly',