You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our production infrastructure includes a load balancer, so we use$clientIp->proxy() to enable the original IP address of the user.
However, in development there is no LB so proxy IP detection fails. Due to this condition, if no IP is detected during the loop, then a void return is used.
The solution is simple, add this to the end of the method:
return$ip;
The text was updated successfully, but these errors were encountered:
Our production infrastructure includes a load balancer, so we use
$clientIp->proxy()
to enable the original IP address of the user.However, in development there is no LB so proxy IP detection fails. Due to this condition, if no IP is detected during the loop, then a
void
return is used.The solution is simple, add this to the end of the method:
The text was updated successfully, but these errors were encountered: