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 handler crash on account creation when duplicate email is present #3777

Merged
merged 1 commit into from Oct 13, 2017

Conversation

reset
Copy link
Collaborator

@reset reset commented Oct 13, 2017

We key on account name and not email. A long while ago when the account table
was first created it wasn't clear if we would key on email or account because
we weren't sure which we could be guaranteed to get. It's now clear that name
is what we can guarantee and we will perform email verification steps to try
our best to obtain an email.

This change fixes a crash in the session server when a user without an email
tries to create an account in a shard where another user has already created
an account without an email.

tenor-125031684

We key on account name and not email. A long while ago when the account table
was first created it wasn't clear if we would key on email or account because
we weren't sure which we could be guaranteed to get. It's now clear that name
is what we can guarantee and we will perform email verification steps to try
our best to obtain an email.

This change fixes a crash in the session server when a user without an email
tries to create an account in a shard where another user has already created
an account without an email.

Signed-off-by: Jamie Winsor <jamie@vialstudios.com>
@thesentinels
Copy link
Contributor

Thanks for the pull request! Here is what will happen next:

  1. Your PR will be reviewed by the maintainers
  2. If everything looks good, one of them will approve it, and your PR will be merged.

Thank you for contributing!

@raskchanky
Copy link
Contributor

tenor-257649768

@reset reset merged commit 91eca37 into master Oct 13, 2017
@reset reset deleted the fix-account-creation-crash branch October 13, 2017 21:02
@christophermaier christophermaier added Type: Bug Issues that describe broken functionality and removed C-bug labels Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that describe broken functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants