Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 021567c

Browse files
EnricoFerrolafriks
EnricoFerro
authored andcommitted
Fix for missing field in EditUserOption (#114)
1 parent 79a281c commit 021567c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitea/admin_user.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ type EditUserOption struct {
5151
AllowGitHook *bool `json:"allow_git_hook"`
5252
AllowImportLocal *bool `json:"allow_import_local"`
5353
MaxRepoCreation *int `json:"max_repo_creation"`
54+
ProhibitLogin *bool `json:"prohibit_login"`
55+
AllowCreateOrganization *bool `json:"allow_create_organization"`
5456
}
5557

5658
// AdminEditUser modify user informations

0 commit comments

Comments
 (0)