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

Function resetPassword

electron_app/src/clientManager.js:598–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596};
597
598const resetPassword = async params => {
599 const recipientId = getRecipientId(params);
600 const client = await createClient({
601 recipientId
602 });
603 const res = await client.resetPassword(params);
604 return res.status === 200
605 ? res
606 : await checkExpiredSession(res, resetPassword, params);
607};
608
609const setAddress = async params => {
610 const client = await createClient({ recipientId: params.recipientId });

Callers

nothing calls this directly

Calls 3

getRecipientIdFunction · 0.85
createClientFunction · 0.70
checkExpiredSessionFunction · 0.70

Tested by

no test coverage detected