Skip to content

fdo-approve-users: purge a few more domains

irb(main):011:0>  match = /@.*jenniferlawrence.*.uk/
irb(main):012:0> User.active.where(external: true)
	  		.where('created_at > ?', 14.days.ago)
			.select { |user| user.email =~ match}
			.count
=> 8033

Similar results for the other listed domains, except wrksemails which is off the charts but I started deleting them before I had the count query correct. They're still being created at the rate of 1 per minute. edit: found the toggle, no longer happens

Edited by Peter Hutterer

Merge request reports

Loading