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:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user