RocketChat / RocketChat/Rocket.Chat
Registration form shows generic error instead of specific password requirement message
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
During registration on cloud.rocket.chat, when
user enters a password shorter than 14 characters,
a generic "unknown error" is shown instead of
a specific password requirement message.
This is confusing for new users who don't know
what went wrong.
Steps to reproduce:
- Go to https://cloud.rocket.chat/register
- Fill the details and type password smaller than 14 length and click register
- now u got some unknown errors .
Expected behavior:
A clear, specific error message should be shown
to the user like:
"Password must be at least 14 characters long"
Instead of generic "An unknown error occurred"
Actual behavior:
- it should show us the actual error like we are getting in the console and the main website.
Server Setup Information:
- Version of Rocket.Chat Server: cloud.rocket.chat (latest)
- License Type: Cloud (Free Trial)
- Number of Users: 1
- Operating System: Linux (cloud hosted)
- Deployment Method: cloud
- Number of Running Instances: N/A
- DB Replicaset Oplog: N/A
- NodeJS Version: N/A
- MongoDB Version: N/A
Client Setup Information
- Browser: Brave (latest)
- Operating System: Linux Mint
Additional context
Relevant logs:
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
Start by reproducing the issue at https://cloud.rocket.chat/register with a password shorter than 14 characters, then compare the registration flow's displayed error with the browser console and the main website behavior shown in the report. Done means the form displays a specific password-length message instead of “An unknown error occurred,” with the relevant registration tests updated or added.
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