Extract fail2ban restart orchestration into jail_service
This commit is contained in:
@@ -157,6 +157,8 @@ Reference: `Docs/Refactoring.md` for full analysis of each issue.
|
||||
|
||||
**Why this is needed:** Multi-step orchestration workflows are business logic and do not belong in HTTP handler functions. Keeping them in the service layer makes the workflow testable in isolation and reusable if a second endpoint ever needs to restart the daemon.
|
||||
|
||||
**Status:** Completed ✅
|
||||
|
||||
---
|
||||
|
||||
### Task 9 — Move `sign_session_token` call out of `auth.py` router into `auth_service.login()`
|
||||
|
||||
Reference in New Issue
Block a user