mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
Move admin-console code to new encrypt service interface (#14547)
This commit is contained in:
@@ -112,7 +112,7 @@ export class OrganizationUserResetPasswordService
|
||||
if (orgSymKey == null) {
|
||||
throw new Error("No org key found");
|
||||
}
|
||||
const decPrivateKey = await this.encryptService.decryptToBytes(
|
||||
const decPrivateKey = await this.encryptService.unwrapDecapsulationKey(
|
||||
new EncString(response.encryptedPrivateKey),
|
||||
orgSymKey,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user