diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-18 12:31:08 +0800 |
---|---|---|
committer | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-18 12:31:08 +0800 |
commit | 317bca10089fff3a1684bd5583c5d5ff2e977b2f (patch) | |
tree | c55d075b127df252a53702180dcc42d0fafc85f0 /internal/setting | |
parent | 4d83fd4238e177d9327c760a5386bc53f25dedbb (diff) |
Add CHANGELOG and adopt new release workflow
In development, the version now has +dev suffix indicates it is not a binary release.
Diffstat (limited to 'internal/setting')
-rw-r--r-- | internal/setting/setting.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/setting/setting.go b/internal/setting/setting.go index 1d4bd107..f03a1c9f 100644 --- a/internal/setting/setting.go +++ b/internal/setting/setting.go @@ -906,18 +906,18 @@ func newMailService() { if HookMode { return } - log.Info("Mail Service Enabled") + log.Info("Mail service is enabled") } func newRegisterMailService() { if !Cfg.Section("service").Key("REGISTER_EMAIL_CONFIRM").MustBool() { return } else if MailService == nil { - log.Warn("Register Mail Service: Mail Service is not enabled") + log.Warn("Email confirmation is not enabled due to the mail service is not available") return } Service.RegisterEmailConfirm = true - log.Info("Register Mail Service Enabled") + log.Info("Email confirmation is enabled") } // newNotifyMailService initializes notification email service options from configuration. @@ -926,7 +926,7 @@ func newNotifyMailService() { if !Cfg.Section("service").Key("ENABLE_NOTIFY_MAIL").MustBool() { return } else if MailService == nil { - log.Warn("Notify Mail Service: Mail Service is not enabled") + log.Warn("Email notification is not enabled due to the mail service is not available") return } Service.EnableNotifyMail = true @@ -934,7 +934,7 @@ func newNotifyMailService() { if HookMode { return } - log.Info("Notify Mail Service Enabled") + log.Info("Email notification is enabled") } func NewService() { |