RocketChat / RocketChat/Rocket.Chat

Adding users requires setting 'Verify' flag

Open
#15,798 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: authentication feat: email triaged type: improvement
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When an administrator adds a new user to the chat and leaves the verify switch off, the new user gets an email containing username and password, but cannot login until the administrator switches the verify flag on.

Steps to reproduce:
  1. As administrator go to 'Administration / Users' and click on '+' symbol in right sidebar.
  2. Fill in necessary user fields, but keep 'Verified' switch off.
  3. Save the user.
Expected behavior:

The new user should be able to log in with the credentials from the email.

Actual behavior:

Login is only possible if administrator switches 'Verified' on.

Server Setup Information:
  • Version of Rocket.Chat Server: 1.3.2
  • Operating System: Linux
  • Deployment Method: tar
  • Number of Running Instances: 2
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v8.15.1
  • MongoDB Version: 4.0.5

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 by reproducing the issue through Administration / Users: create a user with the Verified switch off and try the credentials from the email. Trace the login verification path and confirm that a newly created user can log in without manually enabling Verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.