mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
Use getKey
to actually retrieve key. (#332)
`hasKey` just validates it's available
This commit is contained in:
parent
62b5a05c40
commit
10643be8bb
@ -418,6 +418,8 @@ export class Program extends BaseProgram {
|
||||
} else {
|
||||
this.processResponse(Response.error('Vault is locked.'), true);
|
||||
}
|
||||
} else if (!this.main.cryptoService.hasKeyInMemory()) {
|
||||
await this.main.cryptoService.getKey();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user