Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Form] Addhash_property_path option toPasswordType#46224
New issue
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
2724b72 to785c113Comparea8304ce toa8c9dbbComparecarsonbot commentedMay 2, 2022
Hey! I think@michaelKaefer has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
88e4fd2 to1f7b15fComparejaviereguiluz commentedOct 7, 2022
yceruto left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This approach seems better than the previous one. Thanks for the second try!
...Symfony/Component/Form/Extension/PasswordHasher/Type/PasswordTypePasswordHasherExtension.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/PasswordHasher/EventListener/PasswordHasherListener.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/PasswordHasher/Type/FormTypePasswordHasherExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/PasswordHasher/EventListener/PasswordHasherListener.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
ef8b110 toffe9830Compare...Symfony/Component/Form/Extension/PasswordHasher/Type/PasswordTypePasswordHasherExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/PasswordHasher/EventListener/PasswordHasherListener.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/PasswordHasher/EventListener/PasswordHasherListener.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/PasswordHasher/PasswordHasherExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
5afae70 to533142bComparesrc/Symfony/Component/Form/Extension/PasswordHasher/EventListener/PasswordHasherListener.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
yceruto left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM.
src/Symfony/Component/Form/Extension/PasswordHasher/EventListener/PasswordHasherListener.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
yceruto commentedOct 20, 2022
Some tests failures seem to be relatedhttps://github.com/symfony/symfony/actions/runs/3274200868/jobs/5387417225#step:7:2208 can you check? |
Seb33300 commentedOct 20, 2022
Fixed ine765a9b All green now 🚀 |
src/Symfony/Component/Form/Extension/PasswordHasher/EventListener/PasswordHasherListener.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
...mponent/Form/Tests/Extension/PasswordHasher/Type/PasswordTypePasswordHasherExtensionTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
88f6c8b to9c06ab2Compare9c06ab2 to56c1282Compare56c1282 to7065dfeCompareSeb33300 commentedOct 21, 2022
@chalasr I force pushed to change |
fabpot commentedOct 22, 2022
Thank you@Seb33300. |
…300)This PR was squashed before being merged into the 6.2 branch.Discussion----------[Form] Document the `hash_property_path` optionDocumentation forsymfony/symfony#46224Commits-------228d73e [Form] Document the `hash_property_path` option
Uh oh!
There was an error while loading.Please reload this page.
Same as#42883 but using a Form Extension and rebased to 6.1 & tests.
This PR adds a new
hash_mappingoption toPasswordType.The
hash_mappingoption can be set with a property path where we want to set the hashed password.The
hash_mappingoption can only be used on unmapped fields to minimize plain password leak.