summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
authorThibault Meyer <meyer.thibault@gmail.com>2016-11-11 13:11:45 +0100
committerThibault Meyer <meyer.thibault@gmail.com>2016-11-11 13:11:45 +0100
commitddee4c8b5853d876ebd45ea4e7fe56208cd30eb5 (patch)
tree754d70f15ef0ddf51147b23afee48d6e3de98e11 /routers/user
parenta1c5f02444b5124a8a96a57769e00728e828c7fc (diff)
downloadgitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.tar.gz
gitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.zip
Normalize files with gofmt
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/auth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/user/auth.go b/routers/user/auth.go
index 21c301321f..69f1db47b3 100644
--- a/routers/user/auth.go
+++ b/routers/user/auth.go
@@ -130,8 +130,8 @@ func SignInPost(ctx *context.Context, form auth.SignInForm) {
// Register last login
u.SetLastLogin()
if err := models.UpdateUser(u); err != nil {
- ctx.Handle(500, "UpdateUser", err)
- return
+ ctx.Handle(500, "UpdateUser", err)
+ return
}
if redirectTo, _ := url.QueryUnescape(ctx.GetCookie("redirect_to")); len(redirectTo) > 0 {