From 67defa3b683451693cdfc9504e53832f8723f268 Mon Sep 17 00:00:00 2001 From: withoutaname Date: Tue, 29 Jul 2014 01:57:30 -0700 Subject: [PATCH] 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 --- includes/DefaultSettings.php | 2 +- includes/password/BcryptPassword.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.20.1