Skip to content

feat: require current password when a user changes their own password - #1340

Merged
Taucher2003 merged 2 commits into
mainfrom
feat/#1326-require-current-password-for-password-change
Nov 29, 2026
Merged

Taucher2003 merged 2 commits into
mainfrom
feat/#1326-require-current-password-for-password-change

Conversation

@raphael-goetz

Copy link
Copy Markdown
Member

Resolves: #1326

@raphael-goetz raphael-goetz self-assigned this Nov 1, 2026
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/3070145838

Status: Passed
Duration: 6 minutes

Job summaries

rspec: [cloud]

Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/18042434882/artifacts/tmp/coverage/index.html
Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/3070145838/test_report
Finished in 37.68 seconds (files took 8.25 seconds to load)
2191 examples, 0 failures
Line Coverage: 93.6% (7792 / 8325)
[TEST PROF INFO] Time spent in factories: 00:15.121 (35.31% of total time)

rspec: [ee]

Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/18042434881/artifacts/tmp/coverage/index.html
Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/3070145838/test_report
Finished in 1 minute 3.12 seconds (files took 12.7 seconds to load)
2020 examples, 0 failures
Line Coverage: 93.82% (7350 / 7834)
[TEST PROF INFO] Time spent in factories: 00:26.072 (36.53% of total time)

rspec: [ce]

Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/18042434880/artifacts/tmp/coverage/index.html
Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/3070145838/test_report
Finished in 52.96 seconds (files took 11.55 seconds to load)
1903 examples, 0 failures
Line Coverage: 93.47% (6873 / 7353)
[TEST PROF INFO] Time spent in factories: 00:26.440 (43.89% of total time)

docs:preview

Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/18042496149/artifacts/out/index.html

rubocop

1150 files inspected, no offenses detected

Refs #1326

Prevents hijacked sessions or XSS-driven requests from silently
changing a user's password without proving knowledge of it. Admin
password resets on other users are unaffected.
@raphael-goetz
raphael-goetz force-pushed the feat/#1326-require-current-password-for-password-change branch from d2b88ad to 227f798 Compare November 14, 2026 21:01
@CLAassistant

CLAassistant commented Nov 22, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Taucher2003
Taucher2003 merged commit 64f72df into main Nov 29, 2026
2 checks passed
@Taucher2003
Taucher2003 deleted the feat/#1326-require-current-password-for-password-change branch November 29, 2026 16:01
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.

Require current password for password change

3 participants