Skip to content

[v13] Validate the user still exists during account reset#36275

Merged
rosstimothy merged 4 commits intobranch/v13from
tross/backport-35676/v13
Jan 5, 2024
Merged

[v13] Validate the user still exists during account reset#36275
rosstimothy merged 4 commits intobranch/v13from
tross/backport-35676/v13

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Jan 4, 2024

Backport #35676 to branch/v13

changelog: Prevent deleted users from using account reset links created prior to the user being deleted

Prior to this, any reset links created before a user was deleted
would still be valid and when used would recreate the deleted user.
With this change, the user is validated to still exist prior to
honoring the reset request and if the user no longer exists any
remaining reset tokens are deleted.
@rosstimothy rosstimothy force-pushed the tross/backport-35676/v13 branch from 8715237 to 9505629 Compare January 4, 2024 20:03
@rosstimothy rosstimothy marked this pull request as ready for review January 4, 2024 20:07
@rosstimothy rosstimothy enabled auto-merge January 5, 2024 22:26
@rosstimothy rosstimothy added this pull request to the merge queue Jan 5, 2024
Merged via the queue into branch/v13 with commit 5fd8479 Jan 5, 2024
@rosstimothy rosstimothy deleted the tross/backport-35676/v13 branch January 5, 2024 22:47
@camscale camscale mentioned this pull request Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants