Skip to content

Commit

Permalink
Merge pull request #694 from joostfarla/pwdcom
Browse files Browse the repository at this point in the history
Dispatch failure event for pwd completion error
  • Loading branch information
richardzcode authored Apr 20, 2018
2 parents 652c2ab + 308af82 commit 15bbd3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-amplify/src/Auth/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ export default class AuthClass {
},
onFailure: (err) => {
logger.debug('completeNewPassword failure', err);
dispatchAuthEvent('completeNewPassword_failure', err);
reject(err);
},
mfaRequired: (challengeName, challengeParam) => {
Expand Down

0 comments on commit 15bbd3a

Please sign in to comment.