From: withoutaname Date: Tue, 29 Jul 2014 08:57:30 +0000 (-0700) Subject: Documentation: Update $wgPasswordDefault and BcryptPassword X-Git-Tag: 1.31.0-rc.0~14699^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=67defa3b683451693cdfc9504e53832f8723f268;p=lhc%2Fweb%2Fwiklou.git Documentation: Update $wgPasswordDefault and BcryptPassword Slight syntax code change for $wgPasswordDefault in DefaultSettings.php and fixed reference to global in BcryptPassword.php. Change-Id: I8d1d12c09ecd2f422f21a586e948f314e29fa605 --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index e6dd544a1b..1f58196866 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4134,7 +4134,7 @@ $wgMinimalPasswordLength = 1; */ $wgInvalidPasswordReset = true; -/* +/** * Default password type to use when hashing user passwords * * @since 1.24 diff --git a/includes/password/BcryptPassword.php b/includes/password/BcryptPassword.php index 4e5e878b5e..dd806e26c0 100644 --- a/includes/password/BcryptPassword.php +++ b/includes/password/BcryptPassword.php @@ -24,7 +24,7 @@ * A Bcrypt-hashed password * * This is a computationally complex password hash for use in modern applications. - * The number of rounds can be configured by $wgPasswordCost. + * The number of rounds can be configured by $wgPasswordConfig['bcrypt']['cost']. * * @since 1.24 */