summaryrefslogtreecommitdiffstats
path: root/modules/setting/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r--modules/setting/setting.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 07290fbfeb..fa65b94891 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -1340,7 +1340,7 @@ func NewServices() {
newCacheService()
newSessionService()
newCORSService()
- newMailService()
+ parseMailerConfig(Cfg)
newRegisterMailService()
newNotifyMailService()
newProxyService()
@@ -1357,5 +1357,5 @@ func NewServices() {
// NewServicesForInstall initializes the services for install
func NewServicesForInstall() {
newService()
- newMailService()
+ parseMailerConfig(Cfg)
}