dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "tests: Prefer assertSame() when comparing the integer 0"
[lhc/web/wiklou.git]
/
includes
/
password
/
PasswordPolicyChecks.php
diff --git
a/includes/password/PasswordPolicyChecks.php
b/includes/password/PasswordPolicyChecks.php
index
8eecbcc
..
1475c20
100644
(file)
--- a/
includes/password/PasswordPolicyChecks.php
+++ b/
includes/password/PasswordPolicyChecks.php
@@
-54,6
+54,8
@@
class PasswordPolicyChecks {
/**
* Check password is longer than minimum, fatal.
/**
* 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
* @param int $policyVal minimal length
* @param User $user
* @param string $password