New User email sent when NOT required in settings AND wrong password #8883
Labels
Area: Emails
Issues & PRs related to all things regarding emails & email module
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Type: Bug
Bugs within the core SuiteCRM codebase
SuiteCRM provides a function to generate a password and email the user on new user account creation.
The requirement sent is configured in Admin->Password Management in a checkbox at the top of the page "Enable System-Generated Passwords Feature"
The email that is sent then, if box checked, is configured in Admin->Password Management under Email Templates->For system-generated password.
However, when NOT checked but template not changed from the default "System-generated email". The system still generates and send a password email to the new user.
The password does NOT meet the Password criteria nor does it work when password manually entered when user set up.
Expected Behavior
When the "Enable System-Generated Passwords Feature" is NOT checked, then no email is sent
If it IS checked then the system assigned password should meet the criteria.
Template setting should be ignored
Actual Behavior
Email sent when not required with wrong email
Email sent has 8 characters when requirement is 10 (see image of settings page)
Steps to Reproduce
Go to "Admin"
Go to "Password Management
Ensure that the "Enable System-Generated Passwords Feature" is NOT checked
Leave Email Templates Section as default
Go to Password Security Settings
Set criteria different from the default
Save all settings
Create a new user specifying a password.
Check the email received
Test login with system generated password
Test login with manually set password
Context
Trying to onboard a user for a system hosted on behalf of a client who wants to manually allocate passwords and contact new user direct. The users are confused receiving an email with a password different from the one given direct to them.
Your Environment
SuiteCRM Version used: Version 7.11.15 (Sugar Version 6.5.25 (Build 344))
Browser name and version (e.g. Chrome Version 85.0.4183.121 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: