diff options
author | Florian Kaiser <florian.kaiser@fnkr.net> | 2016-01-30 13:39:02 +0000 |
---|---|---|
committer | Florian Kaiser <florian.kaiser@fnkr.net> | 2016-01-30 13:39:02 +0000 |
commit | abc5abce302885622107c2ffa93d3863311569f9 (patch) | |
tree | f3f34822a39d0980a395348fea82cb4798b8e22d /modules/auth | |
parent | 112a7cab31df083983a664e252efcfca4ecb0d7a (diff) | |
download | gitea-abc5abce302885622107c2ffa93d3863311569f9.tar.gz gitea-abc5abce302885622107c2ffa93d3863311569f9.zip |
Allow modification of a release if Content is empty (fix #2516)
Diffstat (limited to 'modules/auth')
-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 804c8ebae7..bd68feafcf 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -239,7 +239,7 @@ func (f *NewReleaseForm) Validate(ctx *macaron.Context, errs binding.Errors) bin type EditReleaseForm struct { Title string `form:"title" binding:"Required"` - Content string `form:"content" binding:"Required"` + Content string `form:"content"` Draft string `form:"draft"` Prerelease bool `form:"prerelease"` } |