beyond-all-reason / teiserver

Middleware server for online gaming
https://www.beyondallreason.info/
MIT License
50 stars 47 forks source link

Save first_ip at registration time. #380

Closed DeviousNull closed 1 month ago

DeviousNull commented 1 month ago

Currently, only the most-recently-used IP address ("last_ip") for each account is stored in the database. This 2-line PR saves the IP used when an account was registered ("first_ip") as well, accessible to Admins and Moderators.