ncbo / ontologies_api

Hypermedia API for NCBO's ontology-related projects
http://data.bioontology.org
Other
25 stars 10 forks source link

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

Open jvendetti opened 5 months ago

jvendetti commented 5 months ago

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:

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.