mirror of
https://github.com/go-gitea/gitea
synced 2025-07-07 02:57:20 +00:00
Normalize files with gofmt
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user