Skip to content

[2.x] fix: delete stale password tokens when requesting a new reset - #4552

Merged
imorland merged 1 commit into
2.xfrom
im/fix-delete-stale-password-tokens-on-reset
Apr 11, 2026
Merged

[2.x] fix: delete stale password tokens when requesting a new reset#4552
imorland merged 1 commit into
2.xfrom
im/fix-delete-stale-password-tokens-on-reset

Conversation

@imorland

Copy link
Copy Markdown
Member

Fixes a security issue where each password reset request accumulated a new token without removing previous ones, leaving multiple valid tokens indefinitely. RequestPasswordResetJob now deletes all existing tokens for the user before generating a new one.

Ref: #4547

@imorland
imorland requested a review from a team as a code owner April 11, 2026 13:29
@imorland imorland added this to the 2.0.0-rc.1 milestone Apr 11, 2026
@imorland
imorland merged commit 120f10f into 2.x Apr 11, 2026
25 checks passed
@imorland
imorland deleted the im/fix-delete-stale-password-tokens-on-reset branch April 11, 2026 13:42
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.

1 participant