1
0
mirror of https://github.com/bitwarden/cli synced 2026-01-04 01:03:13 +00:00

Fix cli lock and logout (#334)

* Ensure order of operations

* Key removal is necessary to properly lock

* Update jslib
This commit is contained in:
Matt Gibson
2021-06-22 13:37:30 -04:00
committed by GitHub
parent 58fb7958fe
commit 65160f3bf4
3 changed files with 4 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ export class NodeEnvSecureStorageService implements StorageService {
}
async has(key: string): Promise<boolean> {
return await this.get(key) != null;
return (await this.get(key)) != null;
}
async save(key: string, obj: any): Promise<any> {