Skip to content

[v14] Validate the user still exists during account reset#36271

Merged
rosstimothy merged 1 commit intobranch/v14from
bot/backport-35676-branch/v14
Jan 5, 2024
Merged

[v14] Validate the user still exists during account reset#36271
rosstimothy merged 1 commit intobranch/v14from
bot/backport-35676-branch/v14

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #35676 to branch/v14

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

@rosstimothy rosstimothy force-pushed the bot/backport-35676-branch/v14 branch from 0e4a0eb to 72cbd3e Compare January 4, 2024 15:22
@rosstimothy rosstimothy force-pushed the bot/backport-35676-branch/v14 branch from 72cbd3e to aa2e04a Compare January 4, 2024 15:43
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 bot/backport-35676-branch/v14 branch from aa2e04a to 196b08a Compare January 4, 2024 19:46
@rosstimothy rosstimothy marked this pull request as ready for review January 4, 2024 20:01
@rosstimothy rosstimothy added this pull request to the merge queue Jan 5, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 5, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Jan 5, 2024
Merged via the queue into branch/v14 with commit 849be02 Jan 5, 2024
@rosstimothy rosstimothy deleted the bot/backport-35676-branch/v14 branch January 5, 2024 14:23
@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