This page is a translated version of the page Manual:$wgMaximalPasswordLength and the translation is 10% complete.
Comptes utilisateur et authentification: $wgMaximalPasswordLength
Specifies the maximal length of a user password.
Introduit dans la version :1.24.0 (Gerrit change 201220; git #63cf33d8)
Obsolète dans la version :1.26.0 (Gerrit change 206156; git #1a20dc93)
Retiré dans la version :1.42.0 (Gerrit change 995047; git #2d66025f)
Valeurs autorisées :(nonnegative integer)
Valeur par défaut :4096


Specifies the maximal length of a user password.

It is not recommended to make this greater than the default, as it can allow DoS attacks by users setting really long passwords. In addition, this should not be lowered too much, as it enforces weak passwords.

  Avertissement : Unlike other password settings, user with passwords greater than the maximum will not be able to log in.

Since 1.26 deprecated in favor of $wgPasswordPolicy .

See also