* (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 25 Feb 2008 22:07:40 +0000 (22:07 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 25 Feb 2008 22:07:40 +0000 (22:07 +0000)
commit15f21f11125d5209ba6e088c71f74fa8699d02f0
tree1d9d6c696676253f6c99a4827656ec90e7083c73
parent9a9fdc6dcbde967fe28938956f401fa2b87ada87
* (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email

The user password was being set to '-' briefly during setup, before being overwritten.
This broke with $wgMinimalPasswordLength > 1, throwing a fatal exception.
Using the special value of null instead allows the initial non-valid password entry to be set without hitting the minimum length.
RELEASE-NOTES
includes/SpecialUserlogin.php