mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
Use getKey to actually retrieve key. (#332)
`hasKey` just validates it's available
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user