From 657ea2686fd076c4baacc5293694c94f97c4fec3 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 18 Dec 2018 16:46:50 -0500 Subject: auth: coding style and glitches fixes for GitHub login source (#5340) --- pkg/form/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/form/auth.go') 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 { -- cgit v1.2.3