php-coder / mystamps

The site about post stamps where you can create a virtual collection
https://my-stamps.ru
GNU General Public License v2.0
20 stars 33 forks source link

Log IP address of users that tries to register #1225

Open php-coder opened 4 years ago

php-coder commented 4 years ago

As there many spam bots now, let's log their IP addresses. We can save this info into users_activation table. Another option is to modify MDC filter to use IP-address as a user login.

php-coder commented 4 years ago

Perhaps, we should use a specialized type instead of storing as a string. Also we should think about IPv6.

See: