Skip to content

[6.x] Correct SetPasswordCommand behavior#19272

Merged
brandonkelly merged 3 commits into
6.xfrom
fix/set-password-command-behavior
Jul 21, 2026
Merged

[6.x] Correct SetPasswordCommand behavior#19272
brandonkelly merged 3 commits into
6.xfrom
fix/set-password-command-behavior

Conversation

@riasvdv

@riasvdv riasvdv commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Description

Enforces password validation for craft:users:set-password, returns a failing exit status when the user cannot be saved, and invalidates the user’s existing sessions and remember token after a successful password change.

Related issues

Fixes PT-3244, PT-3245, and PT-3396.

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

📚 Storybook previews

@craftcms/uiopen Storybook

No changed components detected in this Storybook.

resources/jsopen Storybook

No changed components detected in this Storybook.

@linear-code

linear-code Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

PT-3244

PT-3245

PT-3396

@riasvdv
riasvdv requested a review from brandonkelly July 20, 2026 19:03
@riasvdv
riasvdv marked this pull request as ready for review July 20, 2026 19:03
@brandonkelly
brandonkelly merged commit 78a83c5 into 6.x Jul 21, 2026
26 checks passed
@brandonkelly
brandonkelly deleted the fix/set-password-command-behavior branch July 21, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants