Last modified: 2010-05-15 15:38:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4071 - password generation ignores $wgMinimalPasswordLength
password generation ignores $wgMinimalPasswordLength
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
All All
: Normal blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-11-25 03:17 UTC by Sven Klemm
Modified: 2010-05-15 15:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

Fixes Bug 4071 (918 bytes, patch)
2005-11-25 03:20 UTC, Sven Klemm
modified function to have generated passwords contain 1 digit at random position (1023 bytes, patch)
2005-11-27 05:32 UTC, Sven Klemm

Description Sven Klemm 2005-11-25 03:17:23 UTC
The function that generates the password for 'Mail me a new password' statically
generates a password with seven characters and ignores the value set in
Comment 1 Sven Klemm 2005-11-25 03:20:23 UTC
Created attachment 1098 [details]
Fixes Bug 4071
Comment 2 Brion Vibber 2005-11-25 23:21:03 UTC
The patch removes the digit. Is that wise? (It might be better to change it randomize 
which chars are which).
Comment 3 Sven Klemm 2005-11-27 05:32:03 UTC
Created attachment 1104 [details]
modified function to have generated passwords contain 1 digit at random position
Comment 4 Ævar Arnfjörð Bjarmason 2005-12-01 00:51:23 UTC
Will the user be unable to log in with the new password if it's below the limit?
If so this is a blocker.
Comment 5 Sven Klemm 2005-12-01 01:27:09 UTC
Yes, login with a password shorter than $wgMinimalPasswordLength is not possible.
(changed the severity to blocker)
Comment 6 Brion Vibber 2005-12-01 08:49:31 UTC
Applied on HEAD and REL1_5. Will be in 1.5.3.

Note You need to log in before you can comment on or make changes to this bug.