alexandregz / twofactor_gauthenticator

This RoundCube plugin adds the 2-step verification(OTP) to the login proccess
MIT License
216 stars 76 forks source link

Whitelisting doens't work behind a reverse proxy #126

Open foorschtbar opened 4 years ago

foorschtbar commented 4 years ago

I use a reverse proxy (traefik) before the RoundCube installation. The IP address you get from $_SERVER['REMOTE_ADDR'] is from the proxy. The real IP address of the clients is in $_SERVER['HTTP_X_FORWARDED_FOR']. It would be nice if you can configure where the IP address comes from to solve this.