mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Fix import path
This commit is contained in:
		| @@ -13,6 +13,7 @@ import ( | ||||
|  | ||||
| 	"github.com/gogits/gogs/modules/base" | ||||
| 	"github.com/gogits/gogs/modules/log" | ||||
| 	"github.com/gogits/gogs/modules/middleware/binding" | ||||
| ) | ||||
|  | ||||
| type AddSSHKeyForm struct { | ||||
| @@ -28,7 +29,7 @@ func (f *AddSSHKeyForm) Name(field string) string { | ||||
| 	return names[field] | ||||
| } | ||||
|  | ||||
| func (f *AddSSHKeyForm) Validate(errors *base.BindingErrors, req *http.Request, context martini.Context) { | ||||
| func (f *AddSSHKeyForm) Validate(errors *binding.BindingErrors, req *http.Request, context martini.Context) { | ||||
| 	data := context.Get(reflect.TypeOf(base.TmplData{})).Interface().(base.TmplData) | ||||
| 	AssignForm(f, data) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user