summaryrefslogtreecommitdiffstats
path: root/routers/user/auth.go
diff options
context:
space:
mode:
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
}