This doesn't yet completely eliminate the dependency on user, because the individual password policy check functions are still documented to receive User. Password policy check functions can be defined by extensions, and configured via $wgPasswordPolicy, so we still need to unwrap user identity to a User before passing into the actual check. But, this removes User from the PassworkPolicyCheck interface. Change-Id: If813b9b0ebbeb89bc61331c9da8efb86e591bfb9 |
||
|---|---|---|
| .. | ||
| PasswordPolicyChecksTest.php | ||
| UserPasswordPolicyTest.php | ||