enhance IP logging accuracy and security for web logins
New feature shipped to Inkwelly— India's most actively developed school management software. This change is in production at real Indian schools today, not on a roadmap.
Implemented a new helper to accurately capture client IP addresses in the audit logs, addressing previous issues where web logins recorded 127.0.0.1.
Updated multiple controllers and interceptors to utilize the new getClientIp and getUserAgent functions for consistent IP and user-agent logging.
Added changelog entry for version 1.1.1 to document the fix and its implications on security and data integrity.
Introduced new utility functions for forwarding client headers to ensure accurate logging in backend calls.