mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-06 18:57:56 +01:00
use user sym key for account changing unlock verification
This commit is contained in:
parent
a1e61feec3
commit
91f6943709
@ -122,7 +122,7 @@ export class StateService<
|
||||
// FIXME: This should be refactored into AuthService or a similar service,
|
||||
// as checking for the existence of the crypto key is a low level
|
||||
// implementation detail.
|
||||
this.activeAccountUnlockedSubject.next((await this.getCryptoMasterKey()) != null);
|
||||
this.activeAccountUnlockedSubject.next((await this.getUserSymKey()) != null);
|
||||
})
|
||||
)
|
||||
.subscribe();
|
||||
|
Loading…
Reference in New Issue
Block a user