This commit is contained in:
Yuri Kuznetsov
2025-03-20 09:39:00 +02:00
parent 489a5befde
commit 678b3bb47d

View File

@@ -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);