aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth/repo_form.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-11-29 12:52:34 -0800
committerLauris BH <lauris@nix.lv>2017-11-29 22:52:34 +0200
commit013db70fce067db78312db3a89c257fc677b87c6 (patch)
tree945956e1f655b890c5ea9582f7505b3703c91b14 /modules/auth/repo_form.go
parent033ad9a79f3248e00125079cc1717213777a951e (diff)
downloadgitea-013db70fce067db78312db3a89c257fc677b87c6.tar.gz
gitea-013db70fce067db78312db3a89c257fc677b87c6.zip
Removed unused field in form (#3023)
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r--modules/auth/repo_form.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index bb917a9114..f066fc630f 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -362,10 +362,9 @@ func (f *EditReleaseForm) Validate(ctx *macaron.Context, errs binding.Errors) bi
// NewWikiForm form for creating wiki
type NewWikiForm struct {
- OldTitle string
- Title string `binding:"Required"`
- Content string `binding:"Required"`
- Message string
+ Title string `binding:"Required"`
+ Content string `binding:"Required"`
+ Message string
}
// Validate validates the fields