SCE-Development / Clark

Made entirely by SJSU students, this is the Software and Computer Engineering Society's outward face on the internet.
https://sce.sjsu.edu
MIT License
28 stars 11 forks source link

Add forgot password feature #1426

Closed evanugarte closed 1 week ago

evanugarte commented 4 weeks ago

game plan (pt 1)

  1. do the above 2 steps, dont add the captcha yet
  2. add a new endpoint to the below file for sending an email to reset the password https://github.com/SCE-Development/Clark/blob/e2a203448f783ffdbdf581c8b8fd5dd4c6ec5f63/api/cloud_api/routes/Mailer.js#L57
  3. send the email when the endpoint gets a request, the email subject will be "Reset Password for SCE" and the body can just be "hello"
  4. add conditional captcha verification if the environment is prod