When you logout from an account, then login with another account, the data from the previous account is still displayed (user picture profile, buttons to access admin panels...)
To Reproduce
Steps to reproduce the behavior:
Log in with an account
Ensure this account has a profile picture
Logout from the account
Login with another account
The profile picture of the previous user is still there
Expected behavior
All data from logout user should be removed
Ideas
To check: do we call the reset cache queries from react-query to remove all cached data?
Describe the bug
When you logout from an account, then login with another account, the data from the previous account is still displayed (user picture profile, buttons to access admin panels...)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All data from logout user should be removed
Ideas
To check: do we call the reset cache queries from react-query to remove all cached data?