mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-08-17 21:25:52 +02:00
If client exists staff does not need to retrieve staff key shares (since tunnel is already encrypted)
This commit is contained in:
@@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user