summaryrefslogtreecommitdiffstats
path: root/modules/auth/repo_form.go
diff options
context:
space:
mode:
authorJustin Nuß <justin.nuss@hmmh.de>2014-08-04 10:37:57 +0200
committerJustin Nuß <justin.nuss@hmmh.de>2014-08-04 10:37:57 +0200
commit8023494a94d842963c157e5647b9c1b62b6ea0a8 (patch)
tree74d2537b581ec04cb0313822e3561f79929979a5 /modules/auth/repo_form.go
parent755eec745fa324fdd13078f0147638f8731652ba (diff)
downloadgitea-8023494a94d842963c157e5647b9c1b62b6ea0a8.tar.gz
gitea-8023494a94d842963c157e5647b9c1b62b6ea0a8.zip
Fix invalid struct tags and remove unreachable code.
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r--modules/auth/repo_form.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index a6c71e99ea..1b1a4f7120 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -71,7 +71,7 @@ func (f *RepoSettingForm) Validate(ctx *macaron.Context, errs *binding.Errors, l
type NewWebhookForm struct {
Url string `form:"url" binding:"Required;Url"`
ContentType string `form:"content_type" binding:"Required"`
- Secret string `form:"secret""`
+ Secret string `form:"secret"`
PushOnly bool `form:"push_only"`
Active bool `form:"active"`
}