diff --git a/gogs.go b/gogs.go index b94cf0e00..f492b2f7f 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.5.0.0913 Beta" +const APP_VER = "0.5.1.0915 Beta" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/routers/user/auth.go b/routers/user/auth.go index 231ee6627..e3d132166 100644 --- a/routers/user/auth.go +++ b/routers/user/auth.go @@ -280,7 +280,7 @@ func SignUpPost(ctx *middleware.Context, cpt *captcha.Captcha, form auth.Registe ctx.Data["IsSendRegisterMail"] = true ctx.Data["Email"] = u.Email 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 { log.Error(4, "Set cache(MailResendLimit) fail: %v", err) diff --git a/templates/.VERSION b/templates/.VERSION index 8d423d667..6db2a3e6c 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.5.0.0913 Beta \ No newline at end of file +0.5.1.0915 Beta \ No newline at end of file