Skip to content

[2.x] Use localStorage for user data#1168

Merged
royduin merged 3 commits into
2.xfrom
Jade-GG-patch-6
Jan 23, 2026
Merged

[2.x] Use localStorage for user data#1168
royduin merged 3 commits into
2.xfrom
Jade-GG-patch-6

Conversation

@Jade-GG
Copy link
Copy Markdown
Collaborator

@Jade-GG Jade-GG commented Jan 22, 2026

ref: AN-394

My best explanation for the hard to reproduce login issues is that it's related to sessionStorage being cleared (for whatever reason). The only way that I was able to get a very similar error pattern was by manually clearing the user data out of the session storage.

As we've also made the user data part of localStorage in 4.x and 5.x, this is also the most logical fix.

@royduin
Copy link
Copy Markdown
Member

royduin commented Jan 23, 2026

Related: #1066

@royduin
Copy link
Copy Markdown
Member

royduin commented Jan 23, 2026

Do we also need the setTimeout? See: https://github.com/rapidez/core/pull/1066/changes

@Jade-GG
Copy link
Copy Markdown
Collaborator Author

Jade-GG commented Jan 23, 2026

Do we also need the setTimeout? See: https://github.com/rapidez/core/pull/1066/changes

Not necessary but useful nonetheless. Will add.

@royduin royduin merged commit 472d9c5 into 2.x Jan 23, 2026
9 checks passed
@royduin royduin deleted the Jade-GG-patch-6 branch January 23, 2026 12:04
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

Successfully merging this pull request may close these issues.

2 participants