RocketChat / RocketChat/Rocket.Chat
lower or upper-cased changes in email address is not possible
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
It is not possible to change upper or lower case letters in a user's e-mail address. This will be blocked with the error "is already in use :(".
This is certainly a cosmetic problem, but a change should still be possible.
Steps to reproduce:
- Try to change a user's e-mail address e.g. from "Lower.Case@domain.tld" to "lower.case@domain.tld".
Expected behavior:
It should be possible to change the mail address.
Actual behavior:
The change is prevented with the error "is already in use :(".

Trying to change:

Server Setup Information:
- Version of Rocket.Chat Server: 0.72.0-develop
- Operating System: Ubuntu 16.04 LTS
- Deployment Method: github checkout, self compiled
- Number of Running Instances: 1
- DB Replicaset Oplog: yes
- NodeJS Version: 8.11.3
- MongoDB Version: 3.4.18
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 reported update from "Lower.Case@domain.tld" to "lower.case@domain.tld" on the stated Rocket.Chat setup, then trace the email uniqueness check from the user email update entry point. Done means case-only changes are accepted while genuinely duplicate email addresses still produce the existing error.
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
- 45/100