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

Reset password api #132

Open
naveennvrgup opened this issue Jun 12, 2020 · 1 comment
Open

Reset password api #132

naveennvrgup opened this issue Jun 12, 2020 · 1 comment
Assignees

Comments

@naveennvrgup
Copy link
Contributor

Is your feature request related to a problem? Please describe.
As a user, I should be able to reset my password with the help of OTP

Describe the solution you'd like
Create /users/forget_password/ which takes in OTP and new password. Performs a reset to new password when

  1. OTP is no expired (ie., new than 1 hr)
  2. OTP matches
  3. New password satisfies the criteria!

for changing password please look into https://docs.djangoproject.com/en/3.0/topics/auth/default/#changing-passwords

@anshsrtv anshsrtv self-assigned this Jun 17, 2020
@anshsrtv
Copy link
Member

The URL for this API is same as, used for the other API of Forget password.. Can we change it a little?

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

No branches or pull requests

2 participants