spacebarchat / spacebarchat/server
Email does not check for capitalization when logging in
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:
- Go to https://app.spacebar.chat/login
- Register for a new account
- Log out
- On the log in screen, put in your information but change any amount of letters in your email to be capitalized
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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