gitblit
gitblit copied to clipboard
Logging of login attempts should include Information about "X-Forwarded-For" Header
Right now, when an access attempt has been made, the logger simply prints the client address to the log file. This is a problem when the server is running behind an Apache Proxy. In this case, only the local address is printed to the log, like so:
[WARN ] Failed login attempt for username, invalid credentials from 127.0.0.1
It would be desirable to have access to the real address of the user attempting to log in.