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

Remove email validation in ChangeUserTypeModal #24411

Merged
merged 2 commits into from Aug 22, 2018

Conversation

maddiedierker
Copy link
Contributor

@maddiedierker maddiedierker commented Aug 20, 2018

Depends on #24364.

Removes validation that requires the user to input an existing email address when upgrading from student to teacher.

What does this mean?

Non-migrated users can now input an email address that does not match their existing address, but will get a server error rather than a front-end validation error (image below)
screen shot 2018-08-20 at 4 39 14 pm

Migrated users can input an email address that does not match any of their existing email addresses and the request will succeed (it creates a new email AuthenticationOption or grabs an existing option with the matching email and makes it their primary)

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.

Looks great! I like that things are getting simpler here now.

@maddiedierker maddiedierker merged commit 26eb7de into staging Aug 22, 2018
@maddiedierker maddiedierker deleted the remove-upgrade-email-form-validation branch August 22, 2018 16:19
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

2 participants