Don't send newsletters to unconfirmed accounts (Merge #3781)
This commit is contained in:
committed by
Javier Martín
parent
bf7a8b4519
commit
9fd79cefd4
@@ -10,7 +10,7 @@ class UserSegments
|
||||
not_supported_on_current_budget].freeze
|
||||
|
||||
def self.all_users
|
||||
User.active
|
||||
User.active.where.not(confirmed_at: nil)
|
||||
end
|
||||
|
||||
def self.administrators
|
||||
|
||||
Reference in New Issue
Block a user