* 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
*/
class BcryptPassword extends ParameterizedPassword {
protected function getDefaultParams() {
- return array(
+ return [
'rounds' => $this->config['cost'],
- );
+ ];
}
protected function getDelimiter() {