Allow admins to view user IP addresses in the admin panel users table and users page
Introduces admin ability to view local users IP addresses as resolved from src/Service/IpResolver.php:
A user's IP address is updated on:
- [x] successful authentication
- [x] entry creation
- [x] entry edit
- [x] entry comment creation
- [x] entry comment edit
- [x] post creation
- [x] post edit
- [x] post comment creation
- [x] post comment edit
I also added local user email and IP to the user's page for admins:
Other things: I noticed the GitHub authenticator was missing the IP being set in the user dto which will cause the registration limiter to be ineffective, so I added it in to be consistent with the other authentication mechanisms.
Closes: https://github.com/MbinOrg/mbin/issues/833
I thought that we fixed the trusted proxy problem a long time ago :O
I thought that we fixed the trusted proxy problem a long time ago :O
not sure how since it was never configured, lol
Should we follow-up this PR?
This PR is stale because it has been open 40 days with no activity.
Rebased..
Fixed PHP cs fixer.
This PR is stale because it has been open 40 days with no activity.
This PR is stale because it has been open 40 days with no activity.
This PR is stale because it has been open 40 days with no activity.