Skip to content

Conversation

@codynguyen
Copy link

Issue #, if available:

Description of changes:

This fixes a bug with sendMFASelectionAnswer returning undefined parameters in its callbacks:

cognitoUser.sendMFASelectionAnswer(mfaType, {
  mfaRequired: function(challengeName, challengeParameters) {
    console.log(challengeName, challengeParameters); // both undefined
  },
  totpRequired: function(challengeName, challengeParameters) {
    console.log(challengeName, challengeParameters); // both undefined too
  },
})

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…arameters in sendMFASelectionAnswer callbacks
@amhinson
Copy link
Contributor

Thanks for the PR @codynguyen! However, this appears to be a duplicate of #6418, so we'll focus on that one for now.

@amhinson amhinson closed this Aug 24, 2020
@github-actions
Copy link

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants