RocketChat / RocketChat/Rocket.Chat

No prompt for invalid email address and user routed to further steps

Open
#28,279 5 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:

When creating an account if the user enters an invalid email address the invalid email address error is thrown which is evident in the console but the user is not prompted for re-entering the email rather is routed to send verification mail window

Steps to reproduce:
  1. Go to main login page and click on create an account
  2. Enter any invalid email address and create your profile
Expected behavior:

The user to be prompted for invalid email address and not routing to any other window

Actual behavior:

Screenshot from 2023-03-05 17-54-01

Screenshot from 2023-03-05 17-45-51

Server Setup Information:
  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
Client Setup Information
  • Desktop App or Browser Version:
  • Operating System:

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

Start at the main login page and reproduce the account-creation flow with an invalid email address. Trace why the invalid-email error is only shown in the console, then verify that the user is prompted to correct the address instead of being routed to the send-verification-mail window.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, frontend
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.