diff --git a/apps/web/src/app/admin-console/organizations/members/services/organization-user-reset-password/organization-user-reset-password.service.ts b/apps/web/src/app/admin-console/organizations/members/services/organization-user-reset-password/organization-user-reset-password.service.ts index bd3dd7fbb0b..8fd00e507ce 100644 --- a/apps/web/src/app/admin-console/organizations/members/services/organization-user-reset-password/organization-user-reset-password.service.ts +++ b/apps/web/src/app/admin-console/organizations/members/services/organization-user-reset-password/organization-user-reset-password.service.ts @@ -81,7 +81,7 @@ export class OrganizationUserResetPasswordService implements UserKeyRotationKeyR if ( !trustedPublicKeys.some( - (key) => Utils.fromBufferToHex(key) === Utils.fromBufferToHex(publicKey), + (key) => Utils.fromArrayToHex(key) === Utils.fromArrayToHex(publicKey), ) ) { throw new Error("Untrusted public key");