Skip to content

Commit

Permalink
Merge pull request #19961 from terabytesoftw/remove-deprecated-method…
Browse files Browse the repository at this point in the history
…s-security

Remove deprecated methods to `Security::class`.
  • Loading branch information
bizley authored Sep 22, 2023
2 parents ce8c654 + 41c206d commit 6b91860
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions framework/base/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6b91860

Please sign in to comment.