HackRU/frontend

Create Forgot Password

Closed this issue · 2 comments

image

Refer to https://github.com/HackRU/lcs/wiki/LCS-API-Endpoints#createmagiclink

Current:
image

image

Add functionality that allows the user to write their email (a valid one!). Upon submission, let the user know an email will be sent if the email exists in the database.

Try to mimick how API requests are already done throughout the project.

  • Make sure to consider all API response status codes and let the user know what happened.
  • Use a regex expression to figure out if an email inputted is valid