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

Fix for missing field in EditUserOption #114

Merged
merged 1 commit into from
Aug 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gitea/admin_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down