summaryrefslogtreecommitdiffstats
path: root/Core/Encoder/BCryptPasswordEncoder.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Encoder/BCryptPasswordEncoder.php')
-rw-r--r--Core/Encoder/BCryptPasswordEncoder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Encoder/BCryptPasswordEncoder.php b/Core/Encoder/BCryptPasswordEncoder.php
index c0c8fe0..d19c462 100644
--- a/Core/Encoder/BCryptPasswordEncoder.php
+++ b/Core/Encoder/BCryptPasswordEncoder.php
@@ -71,7 +71,7 @@ class BCryptPasswordEncoder extends BasePasswordEncoder
$options = array('cost' => $this->cost);
if ($salt) {
- $options['salt'] = $salt;
+ // Ignore $salt, the auto-generated one is always the best
}
return password_hash($raw, PASSWORD_BCRYPT, $options);