gitblit icon indicating copy to clipboard operation
gitblit copied to clipboard

Logging of login attempts should include Information about "X-Forwarded-For" Header

Open epichb opened this issue 8 years ago • 0 comments

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.

epichb avatar Apr 03 '17 20:04 epichb