forked from kevadesu/forgejo
SSL enable config option
This commit is contained in:
parent
97e82a0ff6
commit
97debac185
12 changed files with 22 additions and 9 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue