mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Locating issue
This commit is contained in:
@@ -211,7 +211,7 @@ func UpdateUser(user *User) (err error) {
|
||||
user.Website = user.Website[:255]
|
||||
}
|
||||
|
||||
_, err = orm.Id(user.Id).UseBool().Cols("email", "passwd", "avatar", "avatar_email", "website", "location", "is_active", "is_admin", "updated").Update(user)
|
||||
_, err = orm.Id(user.Id).AllCols().Update(user)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user