Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random password is generated without special characters #17785

Closed
rsjr opened this issue May 29, 2020 · 0 comments · Fixed by #18475
Closed

Random password is generated without special characters #17785

rsjr opened this issue May 29, 2020 · 0 comments · Fixed by #18475
Labels
sponsored Tasked Added to the internal issue tracking
Milestone

Comments

@rsjr
Copy link

rsjr commented May 29, 2020

Description:

The random password generated in the "Admin -> Users" panel is created only with letters/numbers (a-Z / 0-9). No special characters are added.

This is a problem when setting "At Least One Symbol" is active (Admin -> Accounts -> Password Policy), as the user will receive via email a password which is actually not valid.

Steps to reproduce:

  1. Admin User -> enable password policy and At Least One Symbol settings
  2. Admin User -> go to user panel and generate a random password for the end user
  3. End user -> tries to login with the random password received via email. Password gets rejected as it does not have the special chars.

Expected behavior:

Password to be generated following the password policy set on "Accounts"

Actual behavior:

password-random-1

Server Setup Information:

  • Version of Rocket.Chat Server: reproduced on both 3.2.2 and 3.3.0-develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sponsored Tasked Added to the internal issue tracking
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants