mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Fix SSH key bug in windows
This commit is contained in:
@ -201,7 +201,7 @@ func VerifyUserActiveCode(code string) (user *User) {
|
||||
|
||||
// UpdateUser updates user's information.
|
||||
func UpdateUser(user *User) (err error) {
|
||||
_, err = orm.Id(user.Id).UseBool().Update(user)
|
||||
_, err = orm.Id(user.Id).UseBool().Cols("website", "location").Update(user)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user