summaryrefslogtreecommitdiffstats
path: root/modules/auth/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/issue.go')
-rw-r--r--modules/auth/issue.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/auth/issue.go b/modules/auth/issue.go
index 36c8762791..f73ddc7447 100644
--- a/modules/auth/issue.go
+++ b/modules/auth/issue.go
@@ -10,8 +10,6 @@ import (
"github.com/go-martini/martini"
- "github.com/gogits/binding"
-
"github.com/gogits/gogs/modules/base"
"github.com/gogits/gogs/modules/log"
)
@@ -31,7 +29,7 @@ func (f *CreateIssueForm) Name(field string) string {
return names[field]
}
-func (f *CreateIssueForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) {
+func (f *CreateIssueForm) Validate(errors *base.BindingErrors, req *http.Request, context martini.Context) {
if req.Method == "GET" || errors.Count() == 0 {
return
}