chiraag-kakar / sharenlearn

A Common File/Resource Sharing Platform for Students & Faculties built using HTML, CSS, Javascript, & Django.
https://sharenlearn.herokuapp.com/
MIT License
45 stars 78 forks source link

Forgot Password with OTP Verification #180

Closed ashutoshkrris closed 3 years ago

ashutoshkrris commented 3 years ago

Resolves : #173 Fixes Done :

  1. Removed Extra fields such as first name and last name

New Features Added :

  1. AJAX Validations to check if user exists
  2. OTP Verification for resetting password

Workflow : Once a user enters the email, it is checked if it exists in our database. If it doesn't, the Send OTP button will remain disabled. If it does, Send OTP button will be enabled. Once the button is clicked, an OTP is sent to the user's email. The user is required to enter correct OTP. If the OTP is wrong, error is shown. If it is correct, a new password field shows up where user can enter new password. I have attached a demo of the workflow.

https://user-images.githubusercontent.com/47353498/114309704-b6dcd680-9b05-11eb-9369-ba1846aa7155.mp4

ashutoshkrris commented 3 years ago

Hey @harshita2216 I have worked on the changes requested by you. Please have a look on the attached video :

https://user-images.githubusercontent.com/47353498/115175351-74f4f700-a0e8-11eb-954a-d59c0c66a6af.mp4