Browse Source

Mirror fix

tags/v1.2.0-rc1
Unknown 12 years ago
parent
commit
b32e223db5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/user/user.go

+ 1
- 1
routers/user/user.go View File

@@ -271,7 +271,7 @@ func SignUpPost(ctx *middleware.Context, form auth.RegisterForm) {
ctx.Data["IsSendRegisterMail"] = true
ctx.Data["Email"] = u.Email
ctx.Data["Hours"] = base.Service.ActiveCodeLives / 60
ctx.HTML(200, "user/active")
ctx.HTML(200, "user/activate")

if err = ctx.Cache.Put("MailResendLimit_"+u.LowerName, u.LowerName, 180); err != nil {
log.Error("Set cache(MailResendLimit) fail: %v", err)


Loading…
Cancel
Save