diff options
Diffstat (limited to 'modules/auth/repo_form.go')
-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 e3471fff5d..4ea1ba90ec 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -371,7 +371,7 @@ func (f *MergePullRequestForm) Validate(ctx *macaron.Context, errs binding.Error // NewReleaseForm form for creating release type NewReleaseForm struct { - TagName string `binding:"Required"` + TagName string `binding:"Required;GitRefName"` Target string `form:"tag_target" binding:"Required"` Title string `binding:"Required"` Content string |