-
Notifications
You must be signed in to change notification settings - Fork 28
[Proposal] Use Hash::make() instead of a direct call to bcrypt in ResetsPasswords.php #695
Comments
|
Yes its a wrapper, but given that Argon2 is becoming optional in |
Oops! Seems I got it backwards. My bad 🤦♂️ Anyway: I agree with @koenhoeijmakers; using |
wouldn't a solution just be to rename the I don't think this is really a future proofing issue, but rather simply a semantic one. |
@browner12 Renaming the |
yup, would definitely have to go to master. But as we all know, bcrypt won't be around forever, so abstracting the name to something generic will help put it in line with how Hash:make works. |
Opened laravel/framework#20155, but I don't have hope with this one... |
@arondeparon you can close this issue as the PR is merged for 5.5 |
In
ResetsPasswords.php
there is a direct call tobcrypt
on line 104. This in itself is not really a problem sinceHash::make()
acts as a wrapper forbcrypt
, but would it not be more elegant to useHash::make()
, as this is also the recommended way to create password hashes?The text was updated successfully, but these errors were encountered: