diff options
author | Unknwon <u@gogs.io> | 2015-09-03 08:09:08 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-03 08:09:08 -0400 |
commit | 38eb000d13d5f082e45da4629914fb3d8e633379 (patch) | |
tree | 506bbd11532330e921b3f7bab82e440e3d1034c1 /modules | |
parent | 7ec991326d550957b278475057965e197f6e0324 (diff) | |
download | gitea-38eb000d13d5f082e45da4629914fb3d8e633379.tar.gz gitea-38eb000d13d5f082e45da4629914fb3d8e633379.zip |
work on #1570
Diffstat (limited to 'modules')
-rw-r--r-- | modules/auth/repo_form.go | 2 |
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 |