How to view users’ IP address
Checking users' IP addresses not only helps you block SPAM accounts, but also protects users when their accounts show signs of being hacked.
Joomla does support this feature, but it's disabled by default. This article shows you how to track a user's IP address when they log in.
1. From the admin page, go to Users > User Action Logs
2. Click the Options button in the right corner. Next, you need to enable the IP Logging feature.
3. Going back to the User Actions Log you will see an additional IP Address column. You can also export the data to a CSV file for management and monitoring.
Note: This feature is supported on Joomla 3 & 4.
Here is the working page on the test site:
https://testsite.formalms.org/forma-plugins/375-2factor-authentication-plugin.html
Here the production site:
https://formalms.org/forma-plugins/375-2factor-authentication-plugin.html