diff options
Diffstat (limited to 'modules/auth/release.go')
-rw-r--r-- | modules/auth/release.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auth/release.go b/modules/auth/release.go index a29028e0e4..9855c30338 100644 --- a/modules/auth/release.go +++ b/modules/auth/release.go @@ -12,6 +12,7 @@ import ( "github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/log" + "github.com/gogits/gogs/modules/middleware/binding" ) type NewReleaseForm struct { @@ -30,7 +31,7 @@ func (f *NewReleaseForm) Name(field string) string { return names[field] } -func (f *NewReleaseForm) Validate(errors *base.BindingErrors, req *http.Request, context martini.Context) { +func (f *NewReleaseForm) Validate(errors *binding.BindingErrors, req *http.Request, context martini.Context) { if req.Method == "GET" || errors.Count() == 0 { return } |