mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	* Use same name as other structs. * Sync with normal forms. * Edit description with API. * Workaround for nil value.
This commit is contained in:
		| @@ -32,8 +32,9 @@ type EditUserOption struct { | ||||
| 	FullName                *string `json:"full_name" binding:"MaxSize(100)"` | ||||
| 	Password                string  `json:"password" binding:"MaxSize(255)"` | ||||
| 	MustChangePassword      *bool   `json:"must_change_password"` | ||||
| 	Website                 *string `json:"website" binding:"MaxSize(50)"` | ||||
| 	Website                 *string `json:"website" binding:"OmitEmpty;ValidUrl;MaxSize(255)"` | ||||
| 	Location                *string `json:"location" binding:"MaxSize(50)"` | ||||
| 	Description             *string `json:"description" binding:"MaxSize(255)"` | ||||
| 	Active                  *bool   `json:"active"` | ||||
| 	Admin                   *bool   `json:"admin"` | ||||
| 	AllowGitHook            *bool   `json:"allow_git_hook"` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user