diff --git a/webapp/nuxt.config.js b/webapp/nuxt.config.js index 90f142145..717aa0339 100644 --- a/webapp/nuxt.config.js +++ b/webapp/nuxt.config.js @@ -201,7 +201,7 @@ export default { /** * A Boolean indicating if the cookie transmission requires a * secure protocol (https). Defaults to false. */ secure: CONFIG.COOKIE_HTTPS_ONLY, - sameSite: 'lax', + sameSite: 'lax', // for the meaning see https://www.thinktecture.com/de/identity/samesite/samesite-in-a-nutshell/ }, // includeNodeModules: true, // optional, default: false (this includes graphql-tag for node_modules folder) diff --git a/webapp/plugins/i18n.js b/webapp/plugins/i18n.js index b396a789e..76713de97 100644 --- a/webapp/plugins/i18n.js +++ b/webapp/plugins/i18n.js @@ -37,7 +37,7 @@ export default ({ app, req, cookie, store }) => { app.$cookies.set(key, newLocale, { expires, // maxAge: app.$env.COOKIE_EXPIRE_TIME * 60 * 60 * 24, // days to seconds - sameSite: 'lax', + sameSite: 'lax', // for the meaning see https://www.thinktecture.com/de/identity/samesite/samesite-in-a-nutshell/ }) if (!app.$i18n.localeExists(newLocale)) { import(`~/locales/${newLocale}.json`).then((res) => {