-
Improvement
-
Resolution: Fixed
-
Minor
-
3.0.4, 3.1
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_32_STABLE
-
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.
- Testing discovered
-
MDL-55206 reset_password's password policy error contains div tags
- Closed