We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
10.10.0
8.2
No response
Newly added hashed cast may have been implemented incorrectly. #46947
hashed
As I understand it, Hash::needsRehash() is supposed to take a hashed string as an argument. https://laravel.com/docs/10.x/hashing https://www.php.net/manual/en/function.password-needs-rehash
And an already hashed string will be double-hashed if it needs rehashing.
$user->password = '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi'; $user->save();
The text was updated successfully, but these errors were encountered:
Ping @gdebrauwer
Sorry, something went wrong.
I created a PR to fix the issue
Successfully merging a pull request may close this issue.
Laravel Version
10.10.0
PHP Version
8.2
Database Driver & Version
No response
Description
Newly added
hashed
cast may have been implemented incorrectly.#46947
As I understand it, Hash::needsRehash() is supposed to take a hashed string as an argument.
https://laravel.com/docs/10.x/hashing
https://www.php.net/manual/en/function.password-needs-rehash
And an already hashed string will be double-hashed if it needs rehashing.
Steps To Reproduce
The text was updated successfully, but these errors were encountered: