mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-07 00:37:22 +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.
9 lines
188 B
Ruby
9 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
|