summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-30 16:01:50 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-30 16:01:50 -0400
commit2a0066420a9395e5fa5afcd9be4d094a48eee3fa (patch)
tree7529650f4c78f9113ac4d9f7f307a4d92255e6cf /modules
parentd0e6a4c25acc3414f6d0f93cc50e6dcb41111c19 (diff)
downloadgitea-2a0066420a9395e5fa5afcd9be4d094a48eee3fa.tar.gz
gitea-2a0066420a9395e5fa5afcd9be4d094a48eee3fa.zip
Fix bug work with sqlite3
Diffstat (limited to 'modules')
-rw-r--r--modules/base/conf.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go
index 0233d00335..3ebc4ede18 100644
--- a/modules/base/conf.go
+++ b/modules/base/conf.go
@@ -212,9 +212,9 @@ func newMailService() {
if Cfg.MustBool("mailer", "ENABLED") {
MailService = &Mailer{
Name: Cfg.MustValue("mailer", "NAME", AppName),
- Host: Cfg.MustValue("mailer", "HOST", "127.0.0.1:25"),
- User: Cfg.MustValue("mailer", "USER", "example@example.com"),
- Passwd: Cfg.MustValue("mailer", "PASSWD", "******"),
+ Host: Cfg.MustValue("mailer", "HOST"),
+ User: Cfg.MustValue("mailer", "USER"),
+ Passwd: Cfg.MustValue("mailer", "PASSWD"),
}
log.Info("Mail Service Enabled")
}