Closed Subhash23jan closed 1 month ago
@Subhash23jan is attempting to deploy a commit to the swapnilsingh99's projects Team on Vercel.
A member of the Team first needs to authorize it.
@Subhash23jan Is this ot added in the frontend?
@Subhash23jan Is this ot added in the frontend?
No..this is only backend route
Description
I have added a "Forgot Password" feature where the user will receive an OTP via email. The email and OTP will be stored temporarily in the
ResetPassword
schema, which will expire after 5 minutes. The user will then call the "Verify-OTP" API endpoint. Upon successful verification, the user can call the "Update -Password" API endpoint, which updates the password in theUser
schema.Resolves: [#207 ]
Checklist
Screenshots
Additional Notes/Comments
I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request. I appreciate your contribution.