If client exists staff does not need to retrieve staff key shares (since tunnel is already encrypted)

This commit is contained in:
Hendrik Belitz
2026-03-16 10:46:08 +01:00
parent 0bd45cf342
commit bda0862bcf
+1 -1
View File
@@ -545,7 +545,7 @@ export class UnifiedAppointmentCrypto {
emailHash: await hashEmail(params.email),
clientPublicKey: params.tunnel.clientPublicKey,
decryptedTunnelKey,
staffKeyShares: await this.getStaffKeyShares(params.tenantId, decryptedTunnelKey),
staffKeyShares: [], // Not needed for existing clients as tunnel key is already encrypted for staff in this flow
};
};