mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
user gomail and new activate account email tpl
- #1496: fallback plain text - #1002: add date header - #913: fix encoding of header
This commit is contained in:
@@ -45,6 +45,7 @@ func checkRunMode() {
|
||||
|
||||
func NewServices() {
|
||||
setting.NewServices()
|
||||
mailer.NewContext()
|
||||
social.NewOauthService()
|
||||
}
|
||||
|
||||
@@ -53,7 +54,6 @@ func GlobalInit() {
|
||||
setting.NewContext()
|
||||
log.Trace("Custom path: %s", setting.CustomPath)
|
||||
log.Trace("Log path: %s", setting.LogRootPath)
|
||||
mailer.NewContext()
|
||||
models.LoadConfigs()
|
||||
NewServices()
|
||||
|
||||
|
Reference in New Issue
Block a user