feat: login_audit table, lockout settings and Login security module SQL

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-11-30 12:29:09 +08:00
1 parent bbf268e00a
commit a0146be325
6 files changed
+74 -1

No files matched your search

@@ -4,7 +4,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
## 1. Data
- [ ] 1.1 SQL for the table, settings and module (design decisions 1, 2 and 10).
- [x] 1.1 SQL for the table, settings and module (design decisions 1, 2 and 10).
- Files:
- `sql/01-login-audit.sql`: `CREATE TABLE IF NOT EXISTS login_audit`.
- `sql/02-lockout-settings.sql`: insert `ADMIN_LOGIN_MAX_ATTEMPT` = 5, status Y, type `ADMIN_LOGIN_BLOCK`. Set `ADMIN_LOGIN_BLOCK_PERIOD` to 15.