Wruczek / ts-website

A website for your TeamSpeak 3 server
https://ts.wruczek.tech
GNU General Public License v3.0
336 stars 81 forks source link

Can´t Login because wrong IP (Reverseproxy) #162

Closed Pyroman-FEAR closed 3 years ago

Pyroman-FEAR commented 4 years ago

i had the problem that i could not log in because the site did not use my real IP address but the reverse proxy adress

in my case it helped to use the "HTTP_X_FORWARDED_FOR" header in the getClientIp function

toster234 commented 3 years ago

Does the problem persist?

Wruczek commented 3 years ago

We are only trusting the real IP address because of security. In rare cases like yours people can just change the Utils class.