X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fpassword%2FPasswordPolicyChecks.php;h=1475c2053c95e35a7b199884415826454763f9b9;hb=ce81d0017408ea506d057eeb4289c3c793f0a12f;hp=c3af88f07dd8621bdb2551ed890475c8e75ff9a3;hpb=e278b25b40b9420f0c9c3540f7eac75680d7370c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/password/PasswordPolicyChecks.php b/includes/password/PasswordPolicyChecks.php index c3af88f07d..1475c2053c 100644 --- a/includes/password/PasswordPolicyChecks.php +++ b/includes/password/PasswordPolicyChecks.php @@ -54,6 +54,8 @@ class PasswordPolicyChecks { /** * Check password is longer than minimum, fatal. + * Intended for locking out users with passwords too short to trust, requiring them + * to recover their account by some other means. * @param int $policyVal minimal length * @param User $user * @param string $password @@ -151,8 +153,6 @@ class PasswordPolicyChecks { global $wgPopularPasswordFile, $wgSitename; $status = Status::newGood(); if ( $policyVal > 0 ) { - wfDeprecated( __METHOD__, '1.33' ); - $langEn = Language::factory( 'en' ); $passwordKey = $langEn->lc( trim( $password ) );