diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/config.go | 5 |
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) } |