diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-13 01:57:42 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-13 01:57:42 -0400 |
commit | 5c2da610a2cfd3fa9666d20739e054c3588b4d05 (patch) | |
tree | b78f9ce7181a1c204787daedf8b8224f3f77ffa1 /modules/auth/admin.go | |
parent | 33f2d33a4688cec0fc18bb38f7fae49aedc40504 (diff) | |
download | gitea-5c2da610a2cfd3fa9666d20739e054c3588b4d05.tar.gz gitea-5c2da610a2cfd3fa9666d20739e054c3588b4d05.zip |
Move binding as subrepo
Diffstat (limited to 'modules/auth/admin.go')
-rw-r--r-- | modules/auth/admin.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/auth/admin.go b/modules/auth/admin.go index fe889c2385..877af19af3 100644 --- a/modules/auth/admin.go +++ b/modules/auth/admin.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" ) @@ -35,7 +33,7 @@ func (f *AdminEditUserForm) Name(field string) string { return names[field] } -func (f *AdminEditUserForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) { +func (f *AdminEditUserForm) Validate(errors *base.BindingErrors, req *http.Request, context martini.Context) { if req.Method == "GET" || errors.Count() == 0 { return } |