aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/repo_form.go
diff options
context:
space:
mode:
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 d051aed4..3a74bbe0 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