Skip to content

Commit

Permalink
fix: Update auth flow by new restore policy
Browse files Browse the repository at this point in the history
  • Loading branch information
devkudasov committed Dec 27, 2024
1 parent b64adac commit b6f176e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/provider-sss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export async function onAuthorized(
verifier: string,
verifierId: string,
token: string,
isResetShares = false,
): Promise<Creds> {
loggerAuthorized.log('Starting onAuthorized function', {
verifier,
Expand All @@ -215,7 +216,7 @@ export async function onAuthorized(
}>(RemoteConfig.get('sss_generate_shares_url')!, 'shares', [
verifier,
token,
true,
isResetShares,
]);
loggerAuthorized.log('Received node details', {
isNew: nodeDetailsRequest.isNew,
Expand Down

0 comments on commit b6f176e

Please sign in to comment.