1
0
Fork 0
forked from forgejo/forgejo

Clean names

This commit is contained in:
Unknown 2014-05-08 22:12:05 -04:00
parent 3f4c040f3f
commit 09dba7d63e
11 changed files with 30 additions and 731 deletions

View file

@ -42,7 +42,7 @@ func (f *AuthenticationForm) Name(field string) string {
return names[field]
}
func (f *AuthenticationForm) Validate(errors *binding.BindingErrors, req *http.Request, context martini.Context) {
func (f *AuthenticationForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) {
data := context.Get(reflect.TypeOf(base.TmplData{})).Interface().(base.TmplData)
validate(errors, data, f)
}