summaryrefslogtreecommitdiffstats
path: root/routers/user/auth.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-12-17 23:04:05 -0500
committerUnknwon <joe2010xtmf@163.com>2014-12-17 23:04:05 -0500
commit57b3be4016f00a91024194bf63af24559d8f4637 (patch)
treea30909101bdb8e4ecf88d43a826789856ec657a4 /routers/user/auth.go
parentd01f2f3c22648490aa96227762afae16bb505952 (diff)
downloadgitea-57b3be4016f00a91024194bf63af24559d8f4637.tar.gz
gitea-57b3be4016f00a91024194bf63af24559d8f4637.zip
work on #756
Diffstat (limited to 'routers/user/auth.go')
-rw-r--r--routers/user/auth.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/user/auth.go b/routers/user/auth.go
index c695f929a7..e576e6af9c 100644
--- a/routers/user/auth.go
+++ b/routers/user/auth.go
@@ -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
}