GeoIP
SmartAuth can use the GeoIP database to geolocate connection IP addresses. This feature is optional.
Installation
- Go to Home > Setup > Modules > SmartAuth
- Open the GeoIP tab
- Click Download and initialize GeoIP

SmartAuth automatically downloads the GeoLite2-City database and configures the required Dolibarr constants:
GEOIP_VERSIONis set to 1MAIN_MODULE_GEOIPMAXMINDis enabledGEOIPMAXMIND_COUNTRY_DATAFILEpoints to the downloaded file
The file is stored in DOL_DATA_ROOT/geoipmaxmind/GeoLite2-City.mmdb.
Verification
After the download, the page displays a confirmation message indicating that the file is installed and that the configuration is complete.
Usage
Once GeoIP is enabled, connection IP addresses can be associated with a country and a city in the logs and the dashboard.