diff options
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r-- | modules/auth/repo_form.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 6b4612c5..77bd4770 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -116,6 +116,9 @@ func (f *RepoSettingForm) Validate(ctx *macaron.Context, errs binding.Errors) bi type ProtectBranchForm struct { Protected bool RequirePullRequest bool + EnableWhitelist bool + WhitelistUsers string + WhitelistTeams string } func (f *ProtectBranchForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { |