|
|
@ -280,7 +280,7 @@ func SignUpPost(ctx *middleware.Context, cpt *captcha.Captcha, form auth.Registe |
|
|
|
ctx.Data["IsSendRegisterMail"] = true |
|
|
|
ctx.Data["IsSendRegisterMail"] = true |
|
|
|
ctx.Data["Email"] = u.Email |
|
|
|
ctx.Data["Email"] = u.Email |
|
|
|
ctx.Data["Hours"] = setting.Service.ActiveCodeLives / 60 |
|
|
|
ctx.Data["Hours"] = setting.Service.ActiveCodeLives / 60 |
|
|
|
ctx.HTML(200, "user/activate") |
|
|
|
ctx.HTML(200, ACTIVATE) |
|
|
|
|
|
|
|
|
|
|
|
if err := ctx.Cache.Put("MailResendLimit_"+u.LowerName, u.LowerName, 180); err != nil { |
|
|
|
if err := ctx.Cache.Put("MailResendLimit_"+u.LowerName, u.LowerName, 180); err != nil { |
|
|
|
log.Error(4, "Set cache(MailResendLimit) fail: %v", err) |
|
|
|
log.Error(4, "Set cache(MailResendLimit) fail: %v", err) |
|
|
|