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

[Feature]: Reset password functionality #135

Open
samberrry opened this issue Aug 6, 2023 · 6 comments
Open

[Feature]: Reset password functionality #135

samberrry opened this issue Aug 6, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@samberrry
Copy link
Member

samberrry commented Aug 6, 2023

How the project can be improved?

Implementation of the reset password functionality.

Sequence diagram for email-based reset password:

reset-password drawio

  • We already have the reset components in boilerplate
  • The reset password confirmation form must be developed, a form that takes new password and its confirmation
@samberrry samberrry added the enhancement New feature or request label Aug 6, 2023
@samberrry
Copy link
Member Author

API number 1 must be changed.
API number 2 must be developed.

@samberrry
Copy link
Member Author

BINSHOPSREST_FRONT_END_SERVER_URL configuration will be used in REST API to get base front-end server URL.

@samberrry
Copy link
Member Author

New endpoint to verify and reset password:
/resetpasswordsetnewpass

@samberrry
Copy link
Member Author

API changes pushed to develop branch: https://github.com/binshops/prestashop-rest/tree/develop
Not yet fully tested.

@samberrry
Copy link
Member Author

/resetpasswordsetnewpass Endpoint

URL params:
token
id_customer
reset_token

Body:
passwd
confirmation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant