Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.4, 3.1
-
Fix Version/s: 3.2
-
Component/s: Administration
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_30_STABLE, MOODLE_31_STABLE
-
Fixed Branches:MOODLE_32_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
I needed a method to change passwords reliably from the command line without directly accessing the database, so this patch adds functionality to change passwords directly via CLI. Also needed a way to bypass password sanity checks.
Added --username and --password to allow for resetting passwords via the CLI script.
Also added a --badpassword entry to bypass the password integrity checks.
Tested against 3.1
Security issue because adding the badpassword option has security implications, however I believe the value of being able to do the wrong thing here if required is worthwhile. Users/Administrators can and should change their password via the web interface as soon as they can.
Attachments
Issue Links
- Testing discovered
-
MDL-55206 reset_password's password policy error contains div tags
-
- Closed
-