forked from forgejo/forgejo
Fix SSH key bug in windows
This commit is contained in:
parent
e385efcc22
commit
b3cfd9fe0c
6 changed files with 40 additions and 24 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue