feat: services-system endpoint for an admin changing their own 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
f7ec74c7f0
commit
f6fe246ad0
3 files changed
+149
-1
No files matched your search
@@ -35,7 +35,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
|
||||
- Scope: `solvway-services-system/src/**` (new login-security files, tests), `solvway-api-gateway/src/main/resources/application.yml`
|
||||
- Verify: `mvn -T 1C -B -q -pl solvway-services-system,solvway-api-gateway -am verify`
|
||||
|
||||
- [ ] 2.2 `/user/changeAdminPassword` (design decision 4).
|
||||
- [x] 2.2 `/user/changeAdminPassword` (design decision 4).
|
||||
- **Tests first,** one for each result:
|
||||
- `OK` saves the bcrypt hash and keeps `login = Y`;
|
||||
- `NOT_FOUND` for a non-type-A or disabled user;
|
||||
|
||||
Reference in new issue
Block a user