Skip to content

Commit

Permalink
chore(playground): set cookie sameSite to lax
Browse files Browse the repository at this point in the history
  • Loading branch information
prazdevs committed Aug 30, 2024
1 parent 0221bfe commit b383edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/composables/cookie-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export const useCookieStore = defineStore('cookie', () => {
return { username }
}, {
persist: {
storage: piniaPluginPersistedstate.cookies(),
storage: piniaPluginPersistedstate.cookies({ sameSite: 'lax' }),
},
})

0 comments on commit b383edc

Please sign in to comment.