Skip to content

Commit

Permalink
chore: add SameSite=lax
Browse files Browse the repository at this point in the history
Resolves #15
  • Loading branch information
atinux committed Nov 13, 2023
1 parent 4eb4f25 commit 1b296e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ export default defineNuxtModule<ModuleOptions>({
const runtimeConfig = nuxt.options.runtimeConfig
runtimeConfig.session = defu(runtimeConfig.session, {
name: 'nuxt-session',
password: ''
password: '',
cookie: {
sameSite: 'lax'
}
})
// OAuth settings
runtimeConfig.oauth = defu(runtimeConfig.oauth, {})
Expand Down

0 comments on commit 1b296e2

Please sign in to comment.