diff --git a/gitea/admin_user.go b/gitea/admin_user.go index bc0f369..4eab8c2 100644 --- a/gitea/admin_user.go +++ b/gitea/admin_user.go @@ -51,6 +51,8 @@ type EditUserOption struct { AllowGitHook *bool `json:"allow_git_hook"` AllowImportLocal *bool `json:"allow_import_local"` MaxRepoCreation *int `json:"max_repo_creation"` + ProhibitLogin *bool `json:"prohibit_login"` + AllowCreateOrganization *bool `json:"allow_create_organization"` } // AdminEditUser modify user informations