diff --git a/apps/web/src/app/admin-console/organizations/members/components/bulk/base-bulk-confirm.component.ts b/apps/web/src/app/admin-console/organizations/members/components/bulk/base-bulk-confirm.component.ts index 6b3f958fe51..d45ce81d8b2 100644 --- a/apps/web/src/app/admin-console/organizations/members/components/bulk/base-bulk-confirm.component.ts +++ b/apps/web/src/app/admin-console/organizations/members/components/bulk/base-bulk-confirm.component.ts @@ -74,7 +74,7 @@ export abstract class BaseBulkConfirmComponent implements OnInit { const encryptedKey = await this.encryptService.encapsulateKeyUnsigned(key, publicKey); userIdsWithKeys.push({ id: user.id, - key: encryptedKey.encryptedString, + key: encryptedKey, }); } diff --git a/apps/web/src/app/auth/core/services/webauthn-login/response/webauthn-login-credential.response.ts b/apps/web/src/app/auth/core/services/webauthn-login/response/webauthn-login-credential.response.ts index 297cff0fe9a..10d91877cf9 100644 --- a/apps/web/src/app/auth/core/services/webauthn-login/response/webauthn-login-credential.response.ts +++ b/apps/web/src/app/auth/core/services/webauthn-login/response/webauthn-login-credential.response.ts @@ -34,10 +34,7 @@ export class WebauthnLoginCredentialResponse extends BaseResponse { throw new Error("Invalid encrypted public key"); } - return new RotateableKeySet( - new EncString(this.encryptedUserKey), - new EncString(this.encryptedPublicKey), - ); + return new RotateableKeySet(this.encryptedUserKey, new EncString(this.encryptedPublicKey)); } hasPrfKeyset(): boolean {