Normalize files with gofmt
This commit is contained in:
parent
a1c5f02444
commit
ddee4c8b58
15 changed files with 26 additions and 26 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue