FEATURE: Default allow embed secure images in email to true (#10688)
We are making the changes from the PR #10563 the default behaviour. Now, if secure media is enabled, secure images will be embedded in emails by default instead of redacting them and displaying a message. This will be a nicer overall experience by default, and for forums that want to be super strict with redaction this setting can always be disabled.
This commit is contained in:
parent
80268357e7
commit
49bd066037
|
@ -1236,7 +1236,7 @@ files:
|
|||
default: false
|
||||
client: true
|
||||
secure_media_allow_embed_images_in_emails:
|
||||
default: false
|
||||
default: true
|
||||
secure_media_max_email_embed_image_size_kb:
|
||||
default: 1024
|
||||
min: 1
|
||||
|
|
|
@ -4,6 +4,9 @@ require 'rails_helper'
|
|||
require 'email/sender'
|
||||
|
||||
describe Email::Sender do
|
||||
before do
|
||||
SiteSetting.secure_media_allow_embed_images_in_emails = false
|
||||
end
|
||||
fab!(:post) { Fabricate(:post) }
|
||||
|
||||
context "disable_emails is enabled" do
|
||||
|
|
Loading…
Reference in New Issue