runbox7
runbox7 copied to clipboard
Username is cached after switching accounts
Describe the bug When logging out of an account and into another account, the previous account's username is cached until a reload of the app is completed.
To Reproduce Steps to reproduce the behavior:
- Go to https://runbox.com/app and log into an account
- Log out of the account and into another account
- Observe that the first account's username is shown in the top left area
- Reload the app and the username is updated to the current account
Expected behavior The username should be displayed correctly.
Desktop (please complete the following information):
- OS: macOS
- Browser: Firefox
Unable to reproduce this on Chrome or Firefox on Win10, for myself it shows this as though the entry is blanked then a half second later loads the correct one in, as though it is not doing the caching of username in the same way at all.
I think I fixed this one a while back (while doing some other work to ensure the user data got updated on change)
This may have been related to using multi-containers in Firefox, although the cached contents were shown in the same container.