You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, this approach isn't ideal. I have a re-write that is using lucia-sveltekit but I just haven't had the time to update. I will try and get that updated this week so we don't have this in the example, though a PR is welcome in the meantime. Thanks!
If a store is created in SSR, it will end up being a global store shared by all users.
The issue is discussed here: sveltejs/kit#4339
Docs mention it, but only ambiguously: https://kit.svelte.dev/docs/load#shared-state
How to reproduce
Add a new page
/leak/+page.svelte
:$session
store leaks the data on SSR requestHow to fix
See also
The text was updated successfully, but these errors were encountered: