Occassional data leak across requests with SSR #2803
Unanswered
rvdriest
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Every once in a while, all of a sudden all users are logged in as the same user. I suspect it has to do with our usage of the pinia store within our nuxt plugin. The plugin code looks as follows:
Am I doing something wrong here? I can't really reproduce it since it only happens once in a while.
For fuller context I use this composable as a useFetch wrapper:
And this is the auth store:
Beta Was this translation helpful? Give feedback.
All reactions