Last modified: 2007-07-17 16:28:00 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 10617 - Add Hook To User::isValidPassword
Add Hook To User::isValidPassword
Status: RESOLVED DUPLICATE of bug 9180
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-07-17 15:04 UTC by Christian Neubauer
Modified: 2007-07-17 16:28 UTC (History)
1 user (show)

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


Description Christian Neubauer 2007-07-17 15:04:36 UTC
This is a request to add a hook to the function User::isValidPassword so that extensions can impose additional password requirements.  The new function would look something like this:

static function isValidPassword( $password ) {
        global $wgMinimalPasswordLength;
	return (strlen( $password ) >= $wgMinimalPasswordLength) && wfRunHooks( 'User::IsValidPassword', array( &$password ) );
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-17 16:26:17 UTC
There *is* a hook in trunk.
Comment 2 Rob Church 2007-07-17 16:28:00 UTC

*** This bug has been marked as a duplicate of bug 9180 ***

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