Skip to content
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

Merged
merged 15 commits into from Feb 25, 2021
Merged

[API] Password reset #12360

merged 15 commits into from Feb 25, 2021

Conversation

arti0090
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
License MIT

@arti0090 arti0090 requested a review from a team as a code owner February 17, 2021 07:57
@probot-autolabeler probot-autolabeler bot added API APIs related issues and PRs. Shop ShopBundle related issues and PRs. labels Feb 17, 2021
@arti0090
Copy link
Contributor Author

arti0090 commented Feb 18, 2021

TODO for part 2:

  • Add phpspecs to new classes
  • if possible update swagger docs with properties that are needed for password reset
  • add endpoint for change the password with token from email
  • implement rest of behat scenarios

@arti0090 arti0090 changed the title [WIP][API] Password reset [API] Password reset Feb 18, 2021
<collectionOperation name="shop_password_reset_request">
<attribute name="method">POST</attribute>
<attribute name="path">shop/request-reset-password</attribute>
<attribute name="messenger">input</attribute>
Copy link
Member

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)

Comment on lines +28 to +29
<attribute name="output">false</attribute>
<attribute name="status">202</attribute>
Copy link
Member

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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this group needed?

@lchrusciel lchrusciel merged commit 29b5d2d into Sylius:master Feb 25, 2021
@lchrusciel
Copy link
Member

Thank you, @arti0090! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API APIs related issues and PRs. Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants