Skip to content

Password reset links expire after single-click without password reset #140

@jvendetti

Description

@jvendetti

The expiry for password reset links was recently changed (see #133), and part of the new behavior feels somewhat confusing. The link to reset a password can only be clicked once without generating an error, regardless of whether a user actually resets their password. Consider the following steps:

  • Request a password reset email
  • Open the email and click the password reset link
  • Don't take any action in the resulting BioPortal form for updating passwords
  • Click the password reset link again

The second click on the reset link results in a 401 Password reset not authorized with this token error. My expectation is that subsequent clicks on the link should be allowed, and that the link wouldn't be expired until the user actually resets their password, or the one-hour time limit to reset has been exceeded.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions