PedroBern / django-graphql-auth

Django registration and authentication with GraphQL.

Home Page:https://django-graphql-auth.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Password reset link can be used multiple times

LinnaViljami opened this issue · comments

Prerequisites

  • Is it a bug?
  • Is it a new feature?
  • Is it a a question?
  • Can you reproduce the problem?
  • Are you running the latest version?
  • Did you check for similar issues?
  • Did you perform a cursory search?

Description

Password reset link (reset token) should be revoked after resetting the password with it. Resetting password multiple times using same link should not be possible

Steps to Reproduce

  1. Register new user
  2. Request password reset link
  3. Reset password first time
  4. Reset password again with the link

Expected behavior

When trying to use same link multiple times password should not reset again

Actual behavior

Password reset multiple times using same token