Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: initialize reset password inside componentDidMount #2111

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

stevehobbsdev
Copy link
Contributor

Changes

This fixes an issue where you could never type into the email box when resetting passwords if you had a connection resolver specified, as the component would always initialize itself on re-render with the email address, which could be blank. This PR fixes that so that the initialization when using a connection resolver is done inside componentDidMount instead.

References

Fixes #2106

Testing

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language

Checklist

@stevehobbsdev stevehobbsdev requested a review from a team as a code owner April 1, 2022 11:34
@stevehobbsdev stevehobbsdev added the review:small Small review label Apr 1, 2022
@lgtm-com
Copy link
Contributor

lgtm-com bot commented Apr 1, 2022

This pull request fixes 1 alert when merging 0628e8a into 1f7daec - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

@stevehobbsdev stevehobbsdev merged commit c8e32a3 into master Apr 19, 2022
@stevehobbsdev stevehobbsdev deleted the fix/reset-password-resolver branch April 19, 2022 14:53
@stevehobbsdev stevehobbsdev mentioned this pull request May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Impossible to type in reset password field when custom connection resolver is defined (>= 11.31)
2 participants