diff options
Diffstat (limited to 'modules/auth/org.go')
-rw-r--r-- | modules/auth/org.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go index 8af4ad55d8..53ef6245d9 100644 --- a/modules/auth/org.go +++ b/modules/auth/org.go @@ -45,9 +45,9 @@ func (f *UpdateOrgSettingForm) Validate(ctx *macaron.Context, errs binding.Error // \/ \/ \/ type CreateTeamForm struct { - TeamName string `form:"team_name" binding:"Required;AlphaDashDot;MaxSize(30)"` - Description string `form:"desc" binding:"MaxSize(255)"` - Permission string `form:"permission"` + TeamName string `binding:"Required;AlphaDashDot;MaxSize(30)"` + Description string `binding:"MaxSize(255)"` + Permission string } func (f *CreateTeamForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { |