diff --git a/src/Hash.php b/src/Hash.php index e47a89f..18e88f2 100644 --- a/src/Hash.php +++ b/src/Hash.php @@ -38,6 +38,6 @@ public static function check(string $value, string $hashedValue, array $options public static function needsRehash(string $hashedValue, array $options = [], ?string $driverName = null): bool { - return static::getDriver($driverName)->needsRehash($hashedValue . $options); + return static::getDriver($driverName)->needsRehash($hashedValue, $options); } }