# Checklist for submitter - [x] Changes file added for user-visible changes in `changes/`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. - [x] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements), JS inline code is prevented especially for url redirects, and untrusted data interpolated into shell scripts/commands is validated against shell metacharacters. ## Summary Align `PerformRequiredPasswordReset` with the other two password-change paths (`ChangePassword` and `ResetPassword`) by clearing sessions on completion. ## Testing - [x] Added/updated automated tests - [x] QA'd all new/changed functionality manually - [x] Confirmed that the fix is not expected to adversely impact load test results <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **Bug Fixes** * Password reset process now clears all active sessions. When a required password reset is enforced, users are automatically logged out of all active sessions and must re-authenticate with their new password. This improves security by ensuring users cannot maintain access to the account during a password reset operation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2 lines
57 B
Plaintext
2 lines
57 B
Plaintext
* Improved session handling during password reset flows.
|