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

Case-insensitive collation for username/email fields of user schema #479

Closed
spencewenski opened this issue Oct 22, 2024 · 0 comments · Fixed by #480
Closed

Case-insensitive collation for username/email fields of user schema #479

spencewenski opened this issue Oct 22, 2024 · 0 comments · Fixed by #480

Comments

@spencewenski
Copy link
Member

No description provided.

spencewenski added a commit that referenced this issue Oct 22, 2024
Problem
-------
It's common for typos to occur when entering usernames and emails that
result in random incorrect capitalization. Additionally, it's both a
security vulnerability and a usability issue if multiple users can have
the same username/email just with different capitalization.

Solution
--------
- Add a case-insensitive collation (we only officially support this on
Postgres
- Assign the Username and Email columns of the User table to use the
case-insensitive collation.

Closes #479
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 a pull request may close this issue.

1 participant