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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user