summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/config.go')
-rw-r--r--model/config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go
index f5e8fe27a..00322156e 100644
--- a/model/config.go
+++ b/model/config.go
@@ -653,6 +653,7 @@ type EmailSettings struct {
EnableSignInWithEmail *bool
EnableSignInWithUsername *bool
SendEmailNotifications bool
+ UseChannelInEmailNotifications *bool
RequireEmailVerification bool
FeedbackName string
FeedbackEmail string
@@ -687,6 +688,10 @@ func (s *EmailSettings) SetDefaults() {
s.EnableSignInWithUsername = NewBool(false)
}
+ if s.UseChannelInEmailNotifications == nil {
+ s.UseChannelInEmailNotifications = NewBool(false)
+ }
+
if s.SendPushNotifications == nil {
s.SendPushNotifications = NewBool(false)
}