1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00
bitwarden-browser/common
Addison Beck 4074c2a45f
[Bug] [Account Switching] Ensure EnvironmentUrls Pull From The Correction Location On Account Add (#602)
* [bug] Fully initilize environmentUrls default value

We want the full environmentUrls object to be saved to storage with null values as an indicator of using BW cloud.
Currently the initilization behavior creates an empty object instead. Setting property values returns the correct behavior.

* [bug] Return the correct environmentUrls when scaffloging a new account

To allow for setting environmentUrls before an account is created we save that value as a global setting and then apply it to any newly authed accounts.
There is a bug that will instead save the urls used by the previous logged in account, making account switching with multiple servers cause errors.

This commit resolves this by specifically getting environementUrls from global state when creating a new account
2022-01-10 12:25:38 -05:00
..
src [Bug] [Account Switching] Ensure EnvironmentUrls Pull From The Correction Location On Account Add (#602) 2022-01-10 12:25:38 -05:00
package-lock.json Bump node to 16 and npm (#575) 2021-12-13 11:43:10 +01:00
package.json Bump node to 16 and npm (#575) 2021-12-13 11:43:10 +01:00
tsconfig.json Apply Prettier (#581) 2021-12-16 13:36:21 +01:00