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

Fix #10591 - System-generated password does not meet Password Security Settings #10592

Open
wants to merge 1 commit into
base: hotfix
Choose a base branch
from

Conversation

SinergiaCRM
Copy link
Contributor

Solves #10591

Description

The User::generatePassword() function has been modified to generate a password that complies with the security requirements defined in Password Management and stored in $sugar_config['passwordsetting'].

Motivation and Context

Ensure that system-generated passwords comply with the security requirements defined in Password Management settings.

How To Test This

  1. Go to Password Management
  2. Check the Enable System-Generated Passwords Feature option
  3. Change default Password Security Settings: minumum length and contain special characters
  4. Create a new user
  5. Check that the email received by the user with the new password meet the defined security requirements.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant