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

Email does not check for capitalization when logging in #1124

Open
AmNotAGoose opened this issue Jun 16, 2024 · 2 comments
Open

Email does not check for capitalization when logging in #1124

AmNotAGoose opened this issue Jun 16, 2024 · 2 comments

Comments

@AmNotAGoose
Copy link

Describe the bug
Logging in will fail if the email has any capitalization.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://app.spacebar.chat/login
  2. Register for a new account
  3. Log out
  4. On the log in screen, put in your information but change any amount of letters in your email to be capitalized
  5. The login will fail

Expected behavior
The server should convert the email to lowercase and log you in regardless of capitalization, similar to how Discord does it.

Console Logs
N/A

Env and Software info

  • Release: [e.g. 0.1.0]
  • Branch (if release is not applicable):
  • Commit Hash (if release is not applicable):
  • Database:
  • Reverse Proxy:
  • Thread Count:

Additional context

@TheArcaneBrony
Copy link
Member

Hi, thanks for reporting this! I would like to raise that RFC 5321 (section 2.3.11) specifies that the part before the @ is case sensitive.

@AmNotAGoose
Copy link
Author

I see, so is this intended behavior? Most major email providers (gmail, hotmail, etc.) are case insensitive.

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

No branches or pull requests

2 participants