Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add forgot password option. #294

Closed
adwaith007 opened this issue Dec 20, 2019 · 1 comment
Closed

[Feature]: Add forgot password option. #294

adwaith007 opened this issue Dec 20, 2019 · 1 comment

Comments

@adwaith007
Copy link
Contributor

Since we are implementing browser fingerprint and restricting the user from making a new account. We need to implement the reset password option.

@nimishagarwal76
Copy link
Collaborator

nimishagarwal76 commented Dec 22, 2019

FLOW

USER

  • User clicks Forgot password in the frontend and get redirected to the forgot password page
  • They enter their email id and a mail would be sent to their corresponding id
  • They click the mail, which gives them the option to enter new password.

SYSTEM

  • Create a table PasswordChangeRequests
  • 3 columns : id, Time, userId

We will be following -
https://stackoverflow.com/a/1102817/9794090

Follow the approach. Regarding the hash function, you can look for the Email Verification code. Send mail using sendgrid only in Docker Environment.
Server runs on port - 8000 by default. So for new password you can even write a simple static page and serve at server port itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants