Replies: 1 comment
-
|
Hi mike, thanks for bringing up this one. @alicanerdurmaz debugged this and we believe we should not only invalidate auth store but, clear entire store here: https://github.com/refinedev/refine/blob/main/packages/core/src/hooks/auth/useLogout/index.ts#L90 https://tanstack.com/query/v5/docs/reference/QueryClient#queryclientclear |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hello,
I am having an issue with data persisting between separate user sessions. For example:
Not only is user2 able to access data they do not have permissions for, the data is persisted outside of ANY authenticated session.
I am sure I am missing something. How can I ensure that all data is cleared on log out? I am using the below right now in my custom
authProviderbut it seems like a bit of a hack.Beta Was this translation helpful? Give feedback.
All reactions