https://bugzilla.wikimedia.org/show_bug.cgi?id=54718

--- Comment #8 from Krinkle <krinklem...@gmail.com> ---
It is set to 1 by default. This applied by default (so afaik it should be
affecting the installer as well).


includes/DefaultSettings.php
3949: $wgMinimalPasswordLength = 1;

includes/specials/SpecialUserlogin.php
336:    $wgMinimalPasswordLength, $wgEmailConfirmToEdit;
425:    $valid = array( $valid, $wgMinimalPasswordLength );

includes/User.php
704:    global $wgMinimalPasswordLength, ..;
718:    if ( strlen( $password ) < $wgMinimalPasswordLength ) {
853:    $length = max( 10, $wgMinimalPasswordLength );
...




It doesn't seem to be overridden or assigned anywhere else.

What exactly is the problem? I can't find any reason why the $user->setPassword
call in Installer.php would be any different from others. It triggers the same
validation, same settings, and throws the same exception in case of a too short
or otherwise invalid value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to