Skip to content

localStorage account information is not synchronized #206

@ttwishing

Description

@ttwishing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions