Skip to content
Snippets Groups Projects
Commit 9c57caeb authored by Sasha Ilieva's avatar Sasha Ilieva
Browse files

Fix initiateSocialRecovery

parent 4e7f2d34
No related branches found
No related tags found
1 merge request!88908 account recovery ability to add contacts to trusted contacts list for account recovery
......@@ -973,6 +973,17 @@ const connection = Penpal.connectToParent({
});
});
},
identityInitiateSocialRecovery: async accessToken => {
const response = await executeRestfulFunction(
"public",
viamApi,
viamApi.identityInitiateSocialRecovery,
null,
accessToken
);
return response;
},
contactsCheckAccountRecoveryStatus: async restoreAccessIdentity => {
const authenticationPublicKey =
restoreAccessIdentity.authentication.publicKey;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment