Create Forgot Password
Closed this issue · 2 comments
kevinmonisit commented
Refer to https://github.com/HackRU/lcs/wiki/LCS-API-Endpoints#createmagiclink
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.
kevinmonisit commented
Try to mimick how API requests are already done throughout the project.
kevinmonisit commented
- 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