issues
search
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
[x] a link will exist on the sign up page like "forgot password?"
[x] take you to a new page, email input and captcha
[x] cannot submit an email to send a link to unless the captcha is filled out
[x] the backend will verify the captcha request
game plan (pt 1)
do the above 2 steps, dont add the captcha yet
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
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"
add conditional captcha verification if the environment is prod
game plan (pt 1)