diff options
author | Unknwon <u@gogs.io> | 2015-09-17 01:54:12 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-17 01:54:12 -0400 |
commit | 373731f5e85566eb385e92f604e81232e3d6ba1a (patch) | |
tree | 83311e464adf24f3006030e27473086e43a11240 /routers/user/setting.go | |
parent | e75fd2f783a413ae612e3e6110c912b3ecf9555d (diff) |
user gomail and new activate account email tpl
- #1496: fallback plain text
- #1002: add date header
- #913: fix encoding of header
Diffstat (limited to 'routers/user/setting.go')
-rw-r--r-- | routers/user/setting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/setting.go b/routers/user/setting.go index a7a52093..158e2e30 100644 --- a/routers/user/setting.go +++ b/routers/user/setting.go @@ -225,7 +225,7 @@ func SettingsEmailPost(ctx *middleware.Context, form auth.AddEmailForm) { // Send confirmation e-mail if setting.Service.RegisterEmailConfirm { - mailer.SendActivateEmail(ctx.Render, ctx.User, e) + mailer.SendActivateEmailMail(ctx.Context, ctx.User, e) if err := ctx.Cache.Put("MailResendLimit_"+ctx.User.LowerName, ctx.User.LowerName, 180); err != nil { log.Error(4, "Set cache(MailResendLimit) fail: %v", err) |