-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
symfony/security - minor issue in exception message #59328
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Yes, what you're saying looks correct. Are you willing to open a pull request for the 6.4 branch to fix the order? Status: Reviewed |
fabpot
added a commit
that referenced
this issue
Jan 2, 2025
…nk1515) This PR was merged into the 6.4 branch. Discussion ---------- [Security] Adjust parameter order in exception message | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #59328 | License | MIT Commits ------- 4e1ba55 fix: modify Exception message parameter order
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symfony version(s) affected
6.x and 7.x
Description
I think the arguments are the wrong way around? The message made sense in 5.4, but since 6.0 it seems to be the wrong way around.
5.4
symfony/src/Symfony/Component/Security/Core/Validator/Constraints/UserPasswordValidator.php
Line 70 in 2e85f07
symfony/src/Symfony/Component/Security/Core/Validator/Constraints/UserPasswordValidator.php
Line 75 in 2e85f07
6.0 and up
symfony/src/Symfony/Component/Security/Core/Validator/Constraints/UserPasswordValidator.php
Line 56 in b101b71
7.0 and up
symfony/src/Symfony/Component/Security/Core/Validator/Constraints/UserPasswordValidator.php
Line 55 in df81998
How to reproduce
n/a
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: