• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

BacLuc / ecamp3 / 31259127009

08 Aug 2026 01:15PM UTC coverage: 33.687% (-0.006%) from 33.693%
31259127009

push

github

BacLuc
feat(security): OWASP ASVS 5.0 V6 — add change password and require current password to change password

https://github.com/OWASP/ASVS/blob/master/5.0/en/0x15-V6-Authentication.md#v6-authentication
Implement ASVS 6.2.3 (L1): password change now requires the user's
current password via a new currentPassword field on User.

Switch to Symfony's built-in UserPassword constraint (gated with When
on plainPassword and the existing hashed password) instead of the custom
CurrentPasswordRequired validator, per review. Removed the redundant
testPatchUserWithoutUpdatingPasswordDoesNotRequireCurrentPassword test.

Issue: https://github.com/ecamp/ecamp3/issues/2563

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: BacLuc <lucius.bachmann@clubpage.ch>

671 of 4509 branches covered (14.88%)

Branch coverage included in aggregate %.

4444 of 10675 relevant lines covered (41.63%)

63.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

98.73
/api/src/Service/DataGeneratorService.php


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc