mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
dont need to check storage for lock options on get
This commit is contained in:
@@ -83,11 +83,6 @@ export class CryptoService implements CryptoServiceAbstraction {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
const option = await this.storageService.get<number>(ConstantsService.lockOptionKey);
|
||||
if (option != null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const key = await this.secureStorageService.get<string>(Keys.key);
|
||||
if (key != null) {
|
||||
this.key = new SymmetricCryptoKey(Utils.fromB64ToArray(key).buffer);
|
||||
|
||||
Reference in New Issue
Block a user