dsoares / roundcube-lastlogin

Roundcube plugin to save and show user login information and login history.
GNU General Public License v3.0
16 stars 12 forks source link

Getting IP by geoiptool, don't save the real_ip #24

Closed karlmendes closed 7 years ago

karlmendes commented 7 years ago

Only the local IP has in DB.

dsoares commented 7 years ago

Sorry, i don't understand the issue. Geoiptool from geoiptool.com is used in geolocation plugin only to get the geoloc information (city, region, country), not the IP. The ip and real_ip is calculated from the $_SERVER vars and it is based on Roundcube rcube_utils::remote_ip().

Can you explain the issue with more detail?

karlmendes commented 7 years ago

Yes, debugging i found the $_SERVER and the real_ip info isn't here, i dont know if because i use a VM for test.

i think i change the main plugin

hauahuah

thx