aboutsummaryrefslogtreecommitdiff
path: root/pkg/form/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/form/auth.go')
-rw-r--r--pkg/form/auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/form/auth.go b/pkg/form/auth.go
index 65f5eac0..47ecc813 100644
--- a/pkg/form/auth.go
+++ b/pkg/form/auth.go
@@ -41,7 +41,7 @@ type Authentication struct {
TLS bool
SkipVerify bool
PAMServiceName string
- GithubApiEndpoint string `binding:Required;Url`
+ GitHubAPIEndpoint string `form:"github_api_endpoint" binding:"Url"`
}
func (f *Authentication) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {