summaryrefslogtreecommitdiffstats
path: root/modules/auth/admin.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-05 02:42:52 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-05 02:42:52 -0400
commit816c0ed5e7bba89a87689e56c19a29617f5f0ea9 (patch)
treea75a6baf4a476d0962ddf9eb76e946d568584544 /modules/auth/admin.go
parenta641854cad6dddda551a2995c765e970f7cea8ba (diff)
downloadgitea-816c0ed5e7bba89a87689e56c19a29617f5f0ea9.tar.gz
gitea-816c0ed5e7bba89a87689e56c19a29617f5f0ea9.zip
Fix import path
Diffstat (limited to 'modules/auth/admin.go')
-rw-r--r--modules/auth/admin.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auth/admin.go b/modules/auth/admin.go
index 877af19af3..51c1b78cc7 100644
--- a/modules/auth/admin.go
+++ b/modules/auth/admin.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 AdminEditUserForm struct {
@@ -33,7 +34,7 @@ func (f *AdminEditUserForm) Name(field string) string {
return names[field]
}
-func (f *AdminEditUserForm) Validate(errors *base.BindingErrors, req *http.Request, context martini.Context) {
+func (f *AdminEditUserForm) Validate(errors *binding.BindingErrors, req *http.Request, context martini.Context) {
if req.Method == "GET" || errors.Count() == 0 {
return
}