ADMIN LOGIN IP SECURITY

- Admin login attempts are tracked by the web server's REMOTE_ADDR (the direct TCP peer; spoofable forwarding headers are intentionally ignored).
- Two incorrect password attempts against an admin login from the same IP permanently block that IP until an administrator manually unblocks it in Admin > Admin Security > Admin Login IP Tracker.
- Failed and successful admin login totals, timestamps, IP address, username and user-agent are stored in MySQL table admin_login_ip_security. The table is created automatically when the login/security endpoint first runs.
- The feature applies to admin login attempts only; normal user login is unchanged.
- Ensure HTTPS is enabled, PHP/MySQL are updated, backups are maintained, and the hosting provider's proxy configuration is understood. If the site is behind a reverse proxy, REMOTE_ADDR may be the proxy address; configure trusted proxy handling at the server layer rather than trusting arbitrary X-Forwarded-For values.
