RocketChat / RocketChat/Rocket.Chat

lower or upper-cased changes in email address is not possible

Open
#12,557 2 comments 0 reactions 0 assignees View on GitHub

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:
  1. 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 :(".

error0

Trying to change:

error

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.