1
0
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:
Oscar Hinton
2022-01-25 15:45:02 +01:00
committed by GitHub
parent a985621bb9
commit e1d4c4c903
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}
/**