Handle Verification

Implementing Forgot Password and Reset Password Flows
👨‍💼 With the changes 🧝‍♂️ Kellie made, we now have some nice utilities to streamline our verification process in general. So in this exercise, you need to:
  1. Add a 'reset-password' verification type to
    app/routes/_auth+/verify.tsx
  2. Use some of the utilities from
    app/routes/_auth+/verify.tsx
    in
    app/routes/_auth+/forgot-password.tsx
    to get the verification code set up to email the user
  3. Implement the handleVerification function in
    app/routes/_auth+/reset-password.tsx
    to handle what happens after the user has successfully verified their ownership of the account.
  4. Call the handleVerification in
    app/routes/_auth+/verify.tsx
    .
Once your done, the user should be able to get to the password reset page.
Good luck!

Please set the playground first

Loading "Handle Verification"
Loading "Handle Verification"