Commit Graph
1 Commits
Author SHA1 Message Date
2dfc471b8a Forwarded fix (#7593)
* Use 'forwarded' always

Getting the remote IP from the socket doesn't work behind a reverse proxy. 'Forwarded' is there to fix there, but wasn't used here.

* Consistently use getRemoteIP() throughout

Stay in line with other modules that do this

* Use getRemoteIP consistently

One more missing case; in this file it isn't helpful, but it is consistent with other files.

Co-authored-by: Sulka Haro <sulka@sulka.net>
2023-01-01 13:17:26 +02:00