This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
Validate user who has deleted their email address on GitHub #369
Labels
help-wanted
Looking for help from open source contributors
During the sign up flow, a
User
is created in the new state and promoted to set their email and accept terms.The email is chosen from the list of verified emails attached to their GitHub account.
We have a validation on user save in all states besides
new
that requires the email attribute be one of the emails that are verified on the GitHub account.There's a bug that exists when a user chooses a verified email and successfully enters the
registered
state, but then they delete that verified email address from their GitHub account.Because of the validation, we can no longer save the record and the user cannot progress through the other states.
This is working as designed, but also causes issues for the user including an infinite redirect during sign in if the selected email address is no longer verified or has been removed from the associated GitHub account.
We should make a fix for this case. Some options:
cc/ @MattIPv4 as an FYI
The text was updated successfully, but these errors were encountered: