-
Improvement
-
Resolution: Fixed
-
Minor
-
3.8
-
MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
mdl-66280
-
The way that print_password_policy builds the ouput string for displaying the policy is inconsistent. The minimum password length is always displayed, even when set to 0 characters, while other password policy controls such as minimum digits are not displayed when set to 0.
This creates issues when the password policy needs to be enabled, but you don't want $CFG->minpasswordlength set in lieu of some other more complex or nuanced policy. A proposed use case for this is MDL-66278.
- will help resolve
-
MDL-66278 Add a callback to add content to print_password_policy
- Closed