RecursiveThinking / recursive_thinking_website

Recursive Thinking Website
6 stars 2 forks source link

Create Forgot Password Flow #28

Open amnevins opened 6 years ago

amnevins commented 6 years ago

Customer should be able to recover or reset a password.

  1. Click on Forgot Password in Sign In Flow
  2. Fill out username input
  3. Submit and it should call forgotPassword method in Auth.js
  4. New form shows that has username, code from their received email, and new password
  5. Submit and it should call forgotPasswordSubmit method in Auth.js
amnevins commented 6 years ago

2 things important to think about: Validation ~ via good html input types Cognito has a built in validator I already configured so at least inputs are length minimums of 1 for everything and maximums that vary and there all strings. Error Alerts - Customers should see a good error below the input or at the top of modal if they mess up the required field somehow.