summaryrefslogtreecommitdiffstats
path: root/modules/auth/release.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/release.go')
-rw-r--r--modules/auth/release.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/release.go b/modules/auth/release.go
index 7774b914a0..7fadb3c080 100644
--- a/modules/auth/release.go
+++ b/modules/auth/release.go
@@ -30,7 +30,7 @@ func (f *NewReleaseForm) Name(field string) string {
return names[field]
}
-func (f *NewReleaseForm) Validate(errors *binding.BindingErrors, req *http.Request, context martini.Context) {
+func (f *NewReleaseForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) {
data := context.Get(reflect.TypeOf(base.TmplData{})).Interface().(base.TmplData)
validate(errors, data, f)
}