diff options
Diffstat (limited to 'modules/auth/auth.go')
-rw-r--r-- | modules/auth/auth.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go index 825bbd3c9c..71cb2bb28b 100644 --- a/modules/auth/auth.go +++ b/modules/auth/auth.go @@ -194,6 +194,12 @@ func GetMaxSize(field reflect.StructField) string { return getSize(field, "MaxSize(") } +// FIXME: struct contains a struct +func validateStruct(obj interface{}) binding.Errors { + + return nil +} + func validate(errs binding.Errors, data map[string]interface{}, f Form, l macaron.Locale) binding.Errors { if errs.Len() == 0 { return errs |