]> source.dussan.org Git - gitea.git/commitdiff
Fix #465
authorUnknwon <joe2010xtmf@163.com>
Mon, 15 Sep 2014 13:56:12 +0000 (09:56 -0400)
committerUnknwon <joe2010xtmf@163.com>
Mon, 15 Sep 2014 13:56:12 +0000 (09:56 -0400)
gogs.go
routers/user/auth.go
templates/.VERSION

diff --git a/gogs.go b/gogs.go
index b94cf0e0029239b8e4e2723557effa8d54910e00..f492b2f7f7235b764a2533e2db04b43cabc46a73 100644 (file)
--- 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())
index 231ee66279b0758d9aeccd07f30756f5d77dd1c3..e3d132166efcfabe21eda12b18c496c77c04abb9 100644 (file)
@@ -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)
index 8d423d667cd02a800532e225461eaa6bbc2e75e3..6db2a3e6c9941755ddff1a9f92f83e7934f7ba40 100644 (file)
@@ -1 +1 @@
-0.5.0.0913 Beta
\ No newline at end of file
+0.5.1.0915 Beta
\ No newline at end of file