diff options
author | Thibault Meyer <meyer.thibault@gmail.com> | 2016-11-11 13:11:45 +0100 |
---|---|---|
committer | Thibault Meyer <meyer.thibault@gmail.com> | 2016-11-11 13:11:45 +0100 |
commit | ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5 (patch) | |
tree | 754d70f15ef0ddf51147b23afee48d6e3de98e11 /routers/user | |
parent | a1c5f02444b5124a8a96a57769e00728e828c7fc (diff) | |
download | gitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.tar.gz gitea-ddee4c8b5853d876ebd45ea4e7fe56208cd30eb5.zip |
Normalize files with gofmt
Diffstat (limited to 'routers/user')
-rw-r--r-- | routers/user/auth.go | 4 |
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 { |