1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

SSL enable config option

This commit is contained in:
Unknown
2014-03-23 08:40:40 -04:00
parent 97e82a0ff6
commit 97debac185
12 changed files with 22 additions and 9 deletions

View File

@@ -208,7 +208,7 @@ func UpdateUser(user *User) (err error) {
user.Website = user.Website[:255]
}
_, err = orm.Id(user.Id).UseBool().Cols("website", "location").Update(user)
_, err = orm.Id(user.Id).UseBool().Cols("website", "location", "is_active", "is_admin").Update(user)
return err
}