Skip to content

Commit

Permalink
Merge pull request #2 from QiYangApp/v2.2.0
Browse files Browse the repository at this point in the history
修复 `needsRehash ` 传递参数错误问题
  • Loading branch information
ericyzhu authored Jul 31, 2021
2 parents 9a0a334 + 35ce4db commit 2fcb4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hash.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 2fcb4ce

Please sign in to comment.