Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localStorage account information is not synchronized #206

Open
ttwishing opened this issue Jul 29, 2024 · 0 comments
Open

localStorage account information is not synchronized #206

ttwishing opened this issue Jul 29, 2024 · 0 comments

Comments

@ttwishing
Copy link
Contributor

When I log in with two accounts (account1, account2), localStorage will store two sessions (session1, session2) and the list will record these two sessions (availableSessions). The account sidebar queries all logged-in accounts based on the list, but when I delete session2 from localStorage, the list still has a record of session2, but I can't switch from account1 to account2.

I'm not sure if this is a problem, after all, I deleted session2 through the debugging tool. This causes the list data to be out of sync. If this is a problem, should do a check when getting availableSessions?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant