mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 04:50:55 +08:00

The new site setting `allow_anonymous_and_tl0_to_flag_illegal` allows tl0 users to flag illegal content. In addition, anonymous users are instructed on how to flag illegal content by sending emails. Also `email_address_to_report_illegal_content` setting is added. If not provided, then the site contact email is used.
10 lines
188 B
Ruby
10 lines
188 B
Ruby
# frozen_string_literal: true
|
|
|
|
module PageObjects
|
|
module Modals
|
|
class AnonymousFlag < PageObjects::Modals::Base
|
|
BODY_SELECTOR = ".anonymous-flag-modal__body"
|
|
end
|
|
end
|
|
end
|