mirror of
https://github.com/bitwarden/jslib
synced 2025-12-06 00:03:29 +00:00
Expose getKeyFromStorage with userId (#633)
This commit is contained in:
@@ -38,9 +38,9 @@ export class ElectronCryptoService extends CryptoService {
|
||||
}
|
||||
}
|
||||
|
||||
protected async retrieveKeyFromStorage(keySuffix: KeySuffixOptions) {
|
||||
protected async retrieveKeyFromStorage(keySuffix: KeySuffixOptions, userId?: string) {
|
||||
await this.upgradeSecurelyStoredKey();
|
||||
return super.retrieveKeyFromStorage(keySuffix);
|
||||
return super.retrieveKeyFromStorage(keySuffix, userId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user