Skip to content

User creation: Password required even if set random password is selected #21179

@PierreBon

Description

@PierreBon

Description:

On this RocketChat version, When trying to create a new user, we have an error and we need to fill ourself the password field event if "set random password and send by email" is select.

We didn't have this behavior before.

Steps to reproduce:

  1. Go to 'Administration'
  2. Click on 'Users'
  3. Then click on 'New'
  4. Fill the User Creation form
  5. Select "set random password and send by email"
  6. Leave "Password" field empty
  7. Click on "Save"

Expected behavior:

When "set random password and send by email" is selected, we don't need to fill the "Password" field

Actual behavior:

Error message "The field password is required"
image

Server Setup Information:

  • Version of Rocket.Chat Server: 3.12.1
  • Operating System: Ubuntu
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v12.18.4
  • MongoDB Version: 3.6.14 / wiredTiger (oplog Enabled)

Client Setup Information

  • Desktop App or Browser Version: both App and all browser
  • Operating System: Windows 10

Additional context

--

Relevant logs:

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions