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

AFE: Validate email in second step #35531

Merged
merged 1 commit into from Jun 29, 2020
Merged

Conversation

bencodeorg
Copy link
Contributor

Email in the second step of AFE flow is populated from the first step, unless you've come to the page and are already logged in.

Realized that we weren't validating the email field in the latter case -- this PR requires email be filled in and valid before a user can proceed.

Testing story

Tested manually.

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@bencodeorg bencodeorg requested review from a team and islemaster June 27, 2020 00:14
Copy link
Contributor

@islemaster islemaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Yep, email should be required.

@islemaster islemaster merged commit 898c929 into staging Jun 29, 2020
@islemaster islemaster deleted the afe-validate-email-in-form branch June 29, 2020 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants