MCPcopy Create free account
hub / github.com/Criptext/Criptext-Email-React-Client / sendRecoveryCode

Function sendRecoveryCode

electron_app/src/clientManager.js:617–622  ·  view source on GitHub ↗
({ newDeviceData, jwt })

Source from the content-addressed store, hash-verified

615};
616
617const sendRecoveryCode = async ({ newDeviceData, jwt }) => {
618 const recipientId = getRecipientId(newDeviceData);
619 const client = await createClient({ recipientId, optionalToken: jwt });
620 const res = await client.generateCodeTwoFactorAuth(newDeviceData);
621 return res;
622};
623
624const setReadTracking = async params => {
625 const { recipientId, enabled } = params;

Callers

nothing calls this directly

Calls 2

getRecipientIdFunction · 0.85
createClientFunction · 0.70

Tested by

no test coverage detected