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
[API] Password reset #12360
[API] Password reset #12360
Conversation
arti0090
commented
Feb 17, 2021
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
License | MIT |
src/Sylius/Bundle/ApiBundle/CommandHandler/ResetPasswordRequestHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/EventHandler/ResetPasswordRequestedHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Resources/config/api_resources/ShopUser.xml
Outdated
Show resolved
Hide resolved
10e13e8
to
6d453ce
Compare
e8dbb38
to
ecadef4
Compare
TODO for part 2:
|
dc43d89
to
21d724c
Compare
21d724c
to
656719d
Compare
src/Sylius/Bundle/ApiBundle/CommandHandler/ResetPasswordHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/CommandHandler/ResetPasswordHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/CommandHandler/SendResetPasswordEmailHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/CommandHandler/SendResetPasswordEmailHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/EventHandler/ResetPasswordRequestedHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Resources/config/serialization/Commands/Account/ResetPassword.xml
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Resources/config/api_resources/Customer.xml
Outdated
Show resolved
Hide resolved
249185e
to
5bc148c
Compare
src/Sylius/Bundle/ApiBundle/CommandHandler/ResetPasswordRequestHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/CoreBundle/Resources/views/Email/passwordReset.html.twig
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/CommandHandler/RequestResetPasswordTokenHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/CommandHandler/RequestResetPasswordTokenHandler.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Resources/config/serialization/Commands/Account/ResetPassword.xml
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Resources/config/validation/ResetPassword.xml
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendResetPasswordEmailHandlerTest.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendResetPasswordEmailHandlerTest.php
Show resolved
Hide resolved
7dd3ed4
to
e79526a
Compare
src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendResetPasswordEmailHandlerTest.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendResetPasswordEmailHandlerTest.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Tests/CommandHandler/SendResetPasswordEmailHandlerTest.php
Outdated
Show resolved
Hide resolved
cddf339
to
68049ef
Compare
68049ef
to
53e2976
Compare
<collectionOperation name="shop_password_reset_request"> | ||
<attribute name="method">POST</attribute> | ||
<attribute name="path">shop/request-reset-password</attribute> | ||
<attribute name="messenger">input</attribute> |
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.
Could go to the generic section (below validation_groups
)
<attribute name="output">false</attribute> | ||
<attribute name="status">202</attribute> |
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.
Maybe could go to the generic section (below validation_groups
)
<attribute name="status">202</attribute> | ||
<attribute name="validation_groups"> | ||
<attribute>sylius</attribute> | ||
<attribute>sylius_shop_password_reset</attribute> |
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.
is this group needed?
Thank you, @arti0090! 🥇 |