Skip to content

Commit

Permalink
fixes validationDataObject (#7656)
Browse files Browse the repository at this point in the history
Co-authored-by: e <[email protected]>
Co-authored-by: Sam Martinez <[email protected]>
  • Loading branch information
3 people authored Feb 22, 2021
1 parent 5b87ad4 commit c0ab2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/auth/src/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export class AuthClass {
validationData = [];
Object.keys(validationDataObject).map(key => {
validationData.push(
new CognitoUserAttribute({ Name: key, Value: attrs[key] })
new CognitoUserAttribute({ Name: key, Value: validationDataObject[key] })
);
});
}
Expand Down

0 comments on commit c0ab2dd

Please sign in to comment.