RocketChat / RocketChat/Rocket.Chat
Importer should send out enrollement/invitation rather than login request
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Imported users should receive an enrollment mail so they're able to set their password. At the moment they only receive a Login request, where they have to use the "Password reset" function to actually reset and get their initial password.
An actual invitation would make more sense in this case.
Steps to reproduce:
- Import users (CSV)
- Users receive email and are prompted to login (without a password)
- User clicks "Login" - then has to use "Password reset" function to set the initial password
Expected behavior:
Something like this sent by mail:
Actual behavior:
Currently they receive:
Server Setup Information:
- Version of Rocket.Chat Server: 0.70.4
- Operating System: Cloud
- Deployment Method: Cloud
- Number of Running Instances: Cloud
- DB Replicaset Oplog: Cloud
- NodeJS Version: Cloud
- MongoDB Version: Cloud
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 tracing the CSV user-import entry point and the email flow that currently sends a login request. Compare that path with the existing password-reset or invitation behavior described in the issue. Done means imported users receive an enrollment invitation and can set their initial password without first using password reset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100