mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
[bug] Set envUrls after assigning defaults during scaffolding (#627)
This commit is contained in:
@@ -2218,8 +2218,8 @@ export class StateService<TAccount extends Account = Account>
|
||||
account.settings = await this.storageService.get<any>(keys.tempAccountSettings);
|
||||
await this.storageService.remove(keys.tempAccountSettings);
|
||||
}
|
||||
account.settings.environmentUrls = environmentUrls;
|
||||
Object.assign(account.settings, this.createAccount().settings);
|
||||
account.settings.environmentUrls = environmentUrls;
|
||||
await this.storageService.save(
|
||||
account.profile.userId,
|
||||
account,
|
||||
|
||||
Reference in New Issue
Block a user