mirror of
https://github.com/go-gitea/gitea
synced 2025-07-10 12:37:19 +00:00
Clean names
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user