Overview
In some cases we need to see the ip of the user o send the ip in integrations for security and auditory purposes.
Checks logs on the current node, so it only works properly on single node (1 application server) environments. On an HA environment, it could possibly return the wrong IP if the requested user's last login to the current node used a different IP, and they more recently logged onto a different node than the one of the user who triggers the function.
Key Features & Functionality
getIp: get the public ipv4 of the user