aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-03 08:09:08 -0400
committerUnknwon <u@gogs.io>2015-09-03 08:09:08 -0400
commit38eb000d13d5f082e45da4629914fb3d8e633379 (patch)
tree506bbd11532330e921b3f7bab82e440e3d1034c1 /modules
parent7ec991326d550957b278475057965e197f6e0324 (diff)
downloadgitea-38eb000d13d5f082e45da4629914fb3d8e633379.tar.gz
gitea-38eb000d13d5f082e45da4629914fb3d8e633379.zip
work on #1570
Diffstat (limited to 'modules')
-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 d051aed424..3a74bbe000 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -97,7 +97,7 @@ func (f *NewWebhookForm) Validate(ctx *macaron.Context, errs binding.Errors) bin
}
type NewSlackHookForm struct {
- PayloadURL string `binding:"Required`
+ PayloadURL string `binding:"Required;Url`
Channel string `binding:"Required"`
Username string
IconURL string