diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-15 09:56:12 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-15 09:56:12 -0400 |
commit | 632b1b694dc7eb598b552476bb5f76e90c13b25a (patch) | |
tree | 0acab0e7f32053b0d9fd6e12eec78a938df14af6 | |
parent | efb68a0a96574a334a3ec791c0a7f2bc6b96d006 (diff) | |
download | gitea-632b1b694dc7eb598b552476bb5f76e90c13b25a.tar.gz gitea-632b1b694dc7eb598b552476bb5f76e90c13b25a.zip |
Fix #465
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | routers/user/auth.go | 2 | ||||
-rw-r--r-- | templates/.VERSION | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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 231ee66279..e3d132166e 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 8d423d667c..6db2a3e6c9 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 |