From 816c0ed5e7bba89a87689e56c19a29617f5f0ea9 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 5 May 2014 02:42:52 -0400 Subject: Fix import path --- modules/auth/setting.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/auth/setting.go') diff --git a/modules/auth/setting.go b/modules/auth/setting.go index 7cee00de..3316d7b9 100644 --- a/modules/auth/setting.go +++ b/modules/auth/setting.go @@ -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) -- cgit v1.2.3