From 38eb000d13d5f082e45da4629914fb3d8e633379 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 3 Sep 2015 08:09:08 -0400 Subject: work on #1570 --- modules/auth/repo_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3