From 8023494a94d842963c157e5647b9c1b62b6ea0a8 Mon Sep 17 00:00:00 2001 From: Justin Nuß Date: Mon, 4 Aug 2014 10:37:57 +0200 Subject: Fix invalid struct tags and remove unreachable code. --- modules/auth/repo_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/auth') diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index a6c71e99..1b1a4f71 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"` } -- cgit v1.2.3