spacebarchat / spacebarchat/server

Email does not check for capitalization when logging in

Open
#1,124 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.2k
Forks
323
Avg merge
14h 48m
Merged PRs (30d)
4

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the login steps in the report, then trace the server's login entry point and email handling. Done means an account can log in successfully when the same email contains uppercase letters, without changing the account's identity.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.