-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
4.1.9, 4.2.6, 4.3.3
-
None
-
MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
This is to suggest complexity for Enrolment key for "Self enrolment (Student)", similar to Enrolment Key used by Groups.
Steps to replicate:
- Create a course.
- Click Participants tab.
- Select Enrolment Methods in the dropdown control.
- Enable Self enrolment (Student) by clicking the "eye" icon.
- Click Cog icon to configure.
- Set "Enrolment key" = 1
- Use group Enrolment Keys = Yes
- Save it. Notice there are no warnings, it just saves successfully.
- Click Groups in the dropdown.
- Click Create group.
- Set "Group name" = g1
- Set "Enrolment key" = 1
- Save it.
- Notice you will have the following message:
Passwords must be at least 8 characters long.
Passwords must have at least 1 lower case letter(s).
Passwords must have at least 1 upper case letter(s).
The password must have at least 1 special character(s) such as *, -, or #.????
Edited to add: As noted in the comments below, it's easy to miss the setting 'Use password policy' (usepasswordpolicy) in Site administration > Plugins > Enrolments > Self enrolment because it's disabled by default.
Instead, it should be enabled by default - for security, and also for consistency with the setting 'Group enrolment key policy' (which is enabled by default).