You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task: Implement "Forgot Password" Flow on the Sign-In Page
Objective:
Add a "Forgot Password?" button on the sign-in page, implement redirection to the forgot password page, call the forgot password endpoint, and prompt the user to check their email.
Steps:
Add "Forgot Password?" Button on Sign-In Page
On the SignIn page, add a "Forgot Password?" button below the sign-in form.
Redirect to the Forgot Password Page
When the "Forgot Password?" button is clicked, redirect the user to a new ForgotPassword page.
Forgot Password Page
Include instructions to inform the user to enter their registered email to reset their password.
Call the Forgot Password Endpoint
When the form is submitted, capture the email input and call the backend API endpoint for "forgot password" using fetch or Axios.
Handle any errors (e.g., invalid email) and show relevant error messages.
Prompt User to Check Their Email
If the API request is successful, display a message to the user prompting them to check their email for further instructions on resetting their password.
BONUS: Implement Reset Password logic.
The text was updated successfully, but these errors were encountered:
Task: Implement "Forgot Password" Flow on the Sign-In Page
Objective:
Add a "Forgot Password?" button on the sign-in page, implement redirection to the forgot password page, call the forgot password endpoint, and prompt the user to check their email.
Steps:
SignIn
page, add a "Forgot Password?" button below the sign-in form.ForgotPassword
page.fetch
or Axios.BONUS: Implement Reset Password logic.
The text was updated successfully, but these errors were encountered: