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

Tilovell/1613 better handling of duplicate email addresses #1619

Merged

Conversation

TimLovellSmith
Copy link
Member

Fixing #1613

Tim Lovell-Smith added 6 commits October 2, 2013 11:50
…il address if there is already a conflicting email address.
…es instead of error pages. Update fact coverage of TheConfirmAction.
…es they will now see that their account can't be found instead of seeing a white screen of death.
claycompton pushed a commit that referenced this pull request Oct 3, 2013
…licateEmailAddresses

Tilovell/1613 better handling of duplicate email addresses
@claycompton claycompton merged commit 9fb725b into dev-start Oct 3, 2013
@@ -124,7 +124,7 @@
<value>The username '{0}' is not available.</value>
</data>
<data name="UserNotFound" xml:space="preserve">
<value>A user with the provided user name and password does not exist.</value>
<value>A unique user with that username or email address and password does not exist. Try logging on with your username if you were using an email address to log on.</value>
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this for dealing with bad data, but can we also make the EmailAddress space unique? Not necessarily in this sprint, just as a general future thing.

Copy link
Member Author

Choose a reason for hiding this comment

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

You mean find all the users with duplicate email addresses and change their addresses for them or something?

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, do we know if we even have any duplicates? If we do, I don't think there's much we can do about it, but if not, we could slap a UNIQUE constraint on the column :)

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

4 participants