aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth/org.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/org.go')
-rw-r--r--modules/auth/org.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go
index e6a5ba7872..63c0616807 100644
--- a/modules/auth/org.go
+++ b/modules/auth/org.go
@@ -25,11 +25,11 @@ func (f *CreateOrgForm) Validate(ctx *macaron.Context, errs binding.Errors) bind
}
type UpdateOrgSettingForm struct {
- OrgUserName string `form:"uname" binding:"Required;AlphaDashDot;MaxSize(30)" locale:"org.org_name_holder"`
- OrgFullName string `form:"fullname" binding:"MaxSize(100)"`
- Description string `form:"desc" binding:"MaxSize(255)"`
- Website string `form:"website" binding:"Url;MaxSize(100)"`
- Location string `form:"location" binding:"MaxSize(50)"`
+ Name string `binding:"Required;AlphaDashDot;MaxSize(30)" locale:"org.org_name_holder"`
+ FullName string `binding:"MaxSize(100)"`
+ Description string `binding:"MaxSize(255)"`
+ Website string `binding:"Url;MaxSize(100)"`
+ Location string `binding:"MaxSize(50)"`
}
func (f *UpdateOrgSettingForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {