1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-01 08:03:17 +00:00
Files
jslib/common
addison e8970725be [bug] Keep up with entire state in storage instead of just accounts and globals
Not having access to the last active user was creating issues across clients when restarting the process.
For example: when refreshing the page on web we no longer maintain an understanding of who is logged in.

To resolve this I converted all storage save operations to get and save an entire state object, instead of specifying accounts and globals.
This allows for more flexible saving, like saving activeUserId as a top level storage item.
2021-11-11 16:27:40 -05:00
..
2021-09-28 15:47:19 +02:00