phisticated handheld browser.
* (bug 3173) Option to offer exported pages as a download, rather than displaying
inline, as in most browsers
+* Pass the user as an argument to 'isValidPassword' hook callbacks; see
+ docs/hooks.txt for more information
== Bugfixes since 1.10 ==
'isValidPassword': Override the result of User::isValidPassword()
$password: Desired password
&$result: Set this and return false to override the internal checks
+$user: User the password is being validated for
'LoginAuthenticateAudit': a login attempt for a valid user account either succeeded or failed.
No return data is accepted; this hook is for auditing only.
global $wgMinimalPasswordLength, $wgContLang;
$result = null;
- if( !wfRunHooks( 'isValidPassword', array( $password, &$result ) ) )
+ if( !wfRunHooks( 'isValidPassword', array( $password, &$result, $this ) ) )
return $result;
if( $result === false )
return false;