summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go
index 85181edd9..311a43261 100644
--- a/model/config.go
+++ b/model/config.go
@@ -272,6 +272,7 @@ type FileSettings struct {
AmazonS3SSL *bool
AmazonS3SignV2 *bool
AmazonS3SSE *bool
+ AmazonS3Trace *bool
}
type EmailSettings struct {
@@ -607,6 +608,11 @@ func (o *Config) SetDefaults() {
*o.FileSettings.AmazonS3SSE = false // Not Encrypted by default.
}
+ if o.FileSettings.AmazonS3Trace == nil {
+ o.FileSettings.AmazonS3Trace = new(bool)
+ *o.FileSettings.AmazonS3Trace = false
+ }
+
if o.FileSettings.EnableFileAttachments == nil {
o.FileSettings.EnableFileAttachments = new(bool)
*o.FileSettings.EnableFileAttachments = true