diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-12-17 23:04:05 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-12-17 23:04:05 -0500 |
commit | 57b3be4016f00a91024194bf63af24559d8f4637 (patch) | |
tree | a30909101bdb8e4ecf88d43a826789856ec657a4 /routers/user/auth.go | |
parent | d01f2f3c22648490aa96227762afae16bb505952 (diff) | |
download | gitea-57b3be4016f00a91024194bf63af24559d8f4637.tar.gz gitea-57b3be4016f00a91024194bf63af24559d8f4637.zip |
work on #756
Diffstat (limited to 'routers/user/auth.go')
-rw-r--r-- | routers/user/auth.go | 2 |
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 } |