summaryrefslogtreecommitdiffstats
path: root/modules/base/conf.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/conf.go')
-rw-r--r--modules/base/conf.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go
index 64c97028b9..41226459d9 100644
--- a/modules/base/conf.go
+++ b/modules/base/conf.go
@@ -131,15 +131,15 @@ func newMailService() {
}
}
-func newRegisterService() {
+func newRegisterMailService() {
if !Cfg.MustBool("service", "REGISTER_EMAIL_CONFIRM") {
return
} else if MailService == nil {
- log.Warn("Register Service: Mail Service is not enabled")
+ log.Warn("Register Mail Service: Mail Service is not enabled")
return
}
Service.RegisterEmailConfirm = true
- log.Info("Register Service Enabled")
+ log.Info("Register Mail Service Enabled")
}
func init() {
@@ -177,5 +177,5 @@ func init() {
newService()
newLogService()
newMailService()
- newRegisterService()
+ newRegisterMailService()
}