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

Return identityInitiateSocialRecovery

parent d277dd29
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
......@@ -970,6 +970,17 @@ const connection = Penpal.connectToParent({
});
});
},
identityInitiateSocialRecovery: async accessToken => {
const response = await executeRestfulFunction(
"public",
viamApi,
viamApi.identityInitiateSocialRecovery,
null,
accessToken
);
return response;
},
contactsCheckAccountRecoveryStatus: async () => {
const currentlyLoadedIdentity = localStorage.getItem(
"currentlyLoadedIdentity"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment