Slightly-Techie / e-commerce-web

https://ecommerce-web.fly.dev/
2 stars 0 forks source link

Fo/reset password api integration #39

Closed FrederickOB closed 1 year ago

FrederickOB commented 1 year ago

This pull request implements the frontend components and logic for the password reset feature . It includes the following changes:

  1. Reset Code Validation:

    • Added a new page/component for users to enter the reset code received via email.
    • Implemented frontend validation to ensure the code format is correct.
    • Created a form to submit the code and trigger the reset code validation process.
  2. Resend Reset Password Validation Code:

    • Added a button and logic to trigger the resend action for the reset code.
    • Added form to receive email input to send code if email is not in state
    • Incorporated user feedback to display success/error messages when the code is resent.
  3. Reset Password:

    • Designed a new password reset form/page.
    • Linked the form to the reset code validation process.
    • Integrated user-friendly password strength and confirm password validation. -submit new password and confirm password to API