aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-09-15 09:56:12 -0400
committerUnknwon <joe2010xtmf@163.com>2014-09-15 09:56:12 -0400
commit632b1b694dc7eb598b552476bb5f76e90c13b25a (patch)
tree0acab0e7f32053b0d9fd6e12eec78a938df14af6
parentefb68a0a96574a334a3ec791c0a7f2bc6b96d006 (diff)
downloadgitea-632b1b694dc7eb598b552476bb5f76e90c13b25a.tar.gz
gitea-632b1b694dc7eb598b552476bb5f76e90c13b25a.zip
Fix #465
-rw-r--r--gogs.go2
-rw-r--r--routers/user/auth.go2
-rw-r--r--templates/.VERSION2
3 files changed, 3 insertions, 3 deletions
diff --git a/gogs.go b/gogs.go
index b94cf0e002..f492b2f7f7 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 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