You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you check to see if this issue already exists?
Is this only a single bug? Do not put multiple bugs in one issue.
Is this a UI / front end issue? Use the lemmy-ui repo.
Summary
Password reset tokens don't currently seem to be expired. They should expire after either first use or after a timeout (say 24h), whichever comes first.
Steps to Reproduce
Click forgot password on an instance
Use the link to reset your password and it logs you in immediately
Log out and use the link a second time, it still works
Log out and click forgot password again, but use the first link, it still works
Technical Details
Relevant code is here, here and here. The Crud update implementation for PasswordResetRequest updates an existing request with a new token instead of creating a new one, but it seems to be unused, and a new token is always created but never expired.
Version
0.17.4
Lemmy Instance URL
No response
The text was updated successfully, but these errors were encountered:
Requirements
Summary
Password reset tokens don't currently seem to be expired. They should expire after either first use or after a timeout (say 24h), whichever comes first.
Steps to Reproduce
Technical Details
Relevant code is here, here and here. The Crud
update
implementation forPasswordResetRequest
updates an existing request with a new token instead of creating a new one, but it seems to be unused, and a new token is always created but never expired.Version
0.17.4
Lemmy Instance URL
No response
The text was updated successfully, but these errors were encountered: