diff options
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 { |