diff --git a/application/Espo/Core/Api/Util.php b/application/Espo/Core/Api/Util.php index 8bba382aee..9f132f6340 100644 --- a/application/Espo/Core/Api/Util.php +++ b/application/Espo/Core/Api/Util.php @@ -76,6 +76,8 @@ class Util public function obtainIpFromRequest(Request $request): ?string { + // Do not add support of any more parameters here. + $param = $this->config->get('ipAddressServerParam') ?? 'REMOTE_ADDR'; return $request->getServerParam($param);