-
-
Notifications
You must be signed in to change notification settings - Fork 421
[make:user] Use password_hashers instead of encoders #889
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
Conversation
7f94323
to
76bcefa
Compare
And also improve the position of this config when "enable_authenticator_manager" is the first option.
There are all sorts of failures in the tests that I can't explain with my changes - I hope they aren't related. Apart from that, this one should (finally) be ready. |
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.
Thanks @wouterj!
@@ -72,6 +74,10 @@ public function updateForAuthenticator(string $yamlSource, string $firewallName, | |||
$newData = $this->manipulator->getData(); | |||
|
|||
if (!isset($newData['security']['firewalls'])) { | |||
if ($newData['security']) { | |||
$newData['security']['_firewalls'] = $this->manipulator->createEmptyLine(); | |||
} |
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.
What is this for? Are we suddenly missing an empty line somewhere?
Nevermind - I see that we're now handling some more complex cases than before with placement, etc
This is quite thorough and complex - thank you Wouter! |
This PR was merged into the 1.0-dev branch. Discussion ---------- [release] v1.33.0 Hi Makers! Insert clever words here ## [v1.33.0](https://github.com/symfony/maker-bundle/releases/tag/v1.33.0) *June 30th, 2021* ### Feature - [#895](#895) - [make:crud] send the proper HTTP status codes and use renderForm() when available - *`@dunglas`* - [#889](#889) - [make:user] Use password_hashers instead of encoders - *`@wouterj`* ### Bug Fix - [#913](#913) - [make:registration] conditionally generate verify email flash in template - *`@jrushlow`* - [#881](#881) - [make:entity] Fix error when API-Platform is installed. - *`@MichaelBrauner`* Diff: v1.32.0...v1.33.0 Happy making! Commits ------- aa1b721 [release] v1.33.0
And also improve the position of this config when "enable_authenticator_manager" is the first option.
@jrushlow can you maybe help with the blank line (see failing tests)? I tried some things (including adding a
'_' => $this->manipulator->createEmptyLine()
) but all resulted in major failures. Thanks!