feat: admin change-password endpoint with lockout on wrong current password
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
39708224ad
commit
6c6734baa3
7 files changed
+277
-1
No files matched your search
@@ -60,7 +60,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
|
||||
- Scope: `solvway-mobile-api/src/**` (`AdminAuthController`, a new login-audit client, constants, tests)
|
||||
- Verify: `mvn -T 1C -B -q -pl solvway-mobile-api -am verify`
|
||||
|
||||
- [ ] 3.2 `POST /api/admin/auth/change-password` (design decision 7).
|
||||
- [x] 3.2 `POST /api/admin/auth/change-password` (design decision 7).
|
||||
- **Tests first:**
|
||||
- each 400 code;
|
||||
- `CURRENT_PASSWORD_WRONG` records `LOGIN_FAIL`;
|
||||
|
||||
Reference in new issue
Block a user