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

User usernames must be unique case insensitively #22

Merged
merged 2 commits into from
Nov 15, 2018

Conversation

gavboulton
Copy link
Contributor

Update the User schema to check for a username case insensitively before creating a new record. Validation will fail if a matching record is found.

Update the User schema to check for a username case insensitively before creating a new record. Validation will fail if a matching record is found.
Copy link
Contributor

@Hefesto23 Hefesto23 left a comment

Choose a reason for hiding this comment

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

❤️ Spread the love

@gavboulton gavboulton merged commit 1a040d2 into master Nov 15, 2018
@gavboulton gavboulton deleted the feature/case-insensitive-usernames branch November 15, 2018 09:48
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.

2 participants