]> source.dussan.org Git - gitea.git/commitdiff
work on #756
authorUnknwon <joe2010xtmf@163.com>
Thu, 18 Dec 2014 04:04:05 +0000 (23:04 -0500)
committerUnknwon <joe2010xtmf@163.com>
Thu, 18 Dec 2014 04:04:05 +0000 (23:04 -0500)
gogs.go
routers/user/auth.go
templates/.VERSION

diff --git a/gogs.go b/gogs.go
index 9c0d4b54e63656805d91ba8339b8acc2bac28f80..c8053b28000e46340a39a993da3b824bc951385a 100644 (file)
--- a/gogs.go
+++ b/gogs.go
@@ -17,7 +17,7 @@ import (
        "github.com/gogits/gogs/modules/setting"
 )
 
-const APP_VER = "0.5.9.1216 Beta"
+const APP_VER = "0.5.9.1217 Beta"
 
 func init() {
        runtime.GOMAXPROCS(runtime.NumCPU())
index c695f929a7fff20403ca9f99d1fab7087b987361..e576e6af9c876470801ac328a7c13e1af07f3685 100644 (file)
@@ -62,6 +62,8 @@ func SignIn(ctx *middleware.Context) {
        if err != nil {
                if err != models.ErrUserNotExist {
                        ctx.Handle(500, "GetUserByName", err)
+               } else {
+                       ctx.HTML(200, SIGNIN)
                }
                return
        }
index e72ad157a1b2c79f504b8be349da7cd0bb390460..a4d3f0f947035676684406263adb8ca227a52f8a 100644 (file)
@@ -1 +1 @@
-0.5.9.1216 Beta
\ No newline at end of file
+0.5.9.1217 Beta
\ No newline at end of file