Merge "StringUtils: Add a utility for checking if a string is a valid regex"
[lhc/web/wiklou.git] / includes / password / PasswordPolicyChecks.php
index 81b8a0d..1475c20 100644 (file)
@@ -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
@@ -143,6 +145,7 @@ class PasswordPolicyChecks {
         * @param User $user
         * @param string $password
         * @since 1.27
+        * @deprecated since 1.33
         * @return Status
         * @see $wgPopularPasswordFile
         */