Normalize files with gofmt

This commit is contained in:
Thibault Meyer 2016-11-11 13:11:45 +01:00
parent a1c5f02444
commit ddee4c8b58
No known key found for this signature in database
GPG key ID: BE39A108C4DDA755
15 changed files with 26 additions and 26 deletions

View file

@ -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 {