forked from forgejo/forgejo
fix code
This commit is contained in:
parent
d8136c9c3c
commit
3b7465f817
9 changed files with 155 additions and 95 deletions
|
@ -20,8 +20,8 @@ type AdminEditUserForm struct {
|
|||
Website string `form:"website" binding:"MaxSize(50)"`
|
||||
Location string `form:"location" binding:"MaxSize(50)"`
|
||||
Avatar string `form:"avatar" binding:"Required;Email;MaxSize(50)"`
|
||||
Active string `form:"active"`
|
||||
Admin string `form:"admin"`
|
||||
Active bool `form:"active"`
|
||||
Admin bool `form:"admin"`
|
||||
LoginType int `form:"login_type"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue