diff --git a/framework/base/Security.php b/framework/base/Security.php index e8281b2a6c8..b63ce58801d 100644 --- a/framework/base/Security.php +++ b/framework/base/Security.php @@ -73,16 +73,6 @@ class Security extends Component * Set as high as possible to hinder dictionary password attacks. */ public $derivationIterations = 100000; - /** - * @var string strategy, which should be used to generate password hash. - * Available strategies: - * - 'password_hash' - use of PHP `password_hash()` function with PASSWORD_DEFAULT algorithm. - * This option is recommended, but it requires PHP version >= 5.5.0 - * - 'crypt' - use PHP `crypt()` function. - * @deprecated since version 2.0.7, [[generatePasswordHash()]] ignores [[passwordHashStrategy]] and - * uses `password_hash()` when available or `crypt()` when not. - */ - public $passwordHashStrategy; /** * @var int Default cost used for password hashing. * Allowed value is between 4 and 31.