I'm trying to change a password thru the command line, but even if I set this:
$wgPasswordPolicy['policies']['default']['MinimalPasswordLength'] = 6;
$wgPasswordPolicy['policies']['sysop']['MinimalPasswordLength'] = 6;
$wgPasswordPolicy['policies']['interface-admin']['MinimalPasswordLength'] = 6;
$wgPasswordPolicy['policies']['bureaucrat']['MinimalPasswordLength'] = 6;
I get an error with this:
php maintenance/changePassword.php --user=My_User --password=Ab$456
Passwords must be at least 6 characters.
And this works, but the password is not working to login.
php maintenance/changePassword.php --user=My_User --password=Ab$45678
Password set for My_User
Not working…
What should I do?!
Regards,
Antoine