adarsh-singh01 / PrithWe

PrithWe is a platform dedicated to helping individuals and businesses calculate and reduce their carbon footprint. We provide tools and resources to promote sustainability and environmental consciousness in everyday practices.
https://prithwe.onrender.com/
Other
23 stars 32 forks source link

Adding Mail Verification #35

Closed SamarthUrane closed 4 months ago

SamarthUrane commented 4 months ago

Implement email verification for user registration to enhance security and reliability. This involves sending a otp upon registration, which users must enter to confirm their email addresses. The feature aims to prevent spam, improve account security, and enhance user experience.

SamarthUrane commented 4 months ago

Please assign me this issue under GSSOC'24

adarsh-singh01 commented 4 months ago

How will you be implementing this kindly explain in short.

SamarthUrane commented 4 months ago

I can use Nodemailer service to send a random 6 digit number to a user's mail and same will be saved to his account database. Before user login I will check if user is verified or not if not verified I will ask them to fill this 6 digit otp after that I will mark that user as verified and then I will allow user to login.

adarsh-singh01 commented 4 months ago

I can use Nodemailer service to send a random 6 digit number to a user's mail and same will be saved to his account database. Before user login I will check if user is verified or not if not verified I will ask them to fill this 6 digit otp after that I will mark that user as verified and then I will allow user to login.

Assigned!

SamarthUrane commented 4 months ago

I have solved this issue please check PR #40 and merge this #adarsh-singh01