summaryrefslogtreecommitdiffstats
path: root/modules/auth/admin.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-08 22:12:05 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-08 22:12:05 -0400
commit09dba7d63edb0b34e62bf264077a66ef365638c9 (patch)
tree79edc241d84d85f55266c6b7fe798473958d0ed0 /modules/auth/admin.go
parent3f4c040f3f7686f2534bf7e6f61877844b431e48 (diff)
downloadgitea-09dba7d63edb0b34e62bf264077a66ef365638c9.tar.gz
gitea-09dba7d63edb0b34e62bf264077a66ef365638c9.zip
Clean names
Diffstat (limited to 'modules/auth/admin.go')
-rw-r--r--modules/auth/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/admin.go b/modules/auth/admin.go
index 02a4dc489a..668afd9a35 100644
--- a/modules/auth/admin.go
+++ b/modules/auth/admin.go
@@ -34,7 +34,7 @@ func (f *AdminEditUserForm) Name(field string) string {
return names[field]
}
-func (f *AdminEditUserForm) Validate(errors *binding.BindingErrors, req *http.Request, context martini.Context) {
+func (f *AdminEditUserForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) {
data := context.Get(reflect.TypeOf(base.TmplData{})).Interface().(base.TmplData)
validate(errors, data, f)
}