mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Add screening by IP address. When deleting a user as a spammer, block all signups from the same IP address.
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
class Admin::ScreenedIpAddressesController < Admin::AdminController
|
||||
|
||||
def index
|
||||
screened_emails = ScreenedIpAddress.limit(200).order('last_match_at desc').to_a
|
||||
render_serialized(screened_emails, ScreenedIpAddressSerializer)
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user