diff options
Diffstat (limited to 'Core/Encoder/BCryptPasswordEncoder.php')
-rw-r--r-- | Core/Encoder/BCryptPasswordEncoder.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Core/Encoder/BCryptPasswordEncoder.php b/Core/Encoder/BCryptPasswordEncoder.php index c0c8fe0..96893ab 100644 --- a/Core/Encoder/BCryptPasswordEncoder.php +++ b/Core/Encoder/BCryptPasswordEncoder.php @@ -71,6 +71,8 @@ class BCryptPasswordEncoder extends BasePasswordEncoder $options = array('cost' => $this->cost); if ($salt) { + @trigger_error('Passing a $salt to '.__METHOD__.'() is deprecated since version 2.8 and will be ignored in 3.0.', E_USER_DEPRECATED); + $options['salt'] = $salt; } |