summaryrefslogtreecommitdiffstats
path: root/modules/auth/org.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-16 16:21:17 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-16 16:21:17 +0800
commitbba707de36d9bfbdb3001e3e89fac0c072aa14e9 (patch)
tree2b3ee7fc662baea04cecdf14b8a2758c108f83cc /modules/auth/org.go
parent78add502d71dca43bb59ab9ad91745c64d0bf74d (diff)
downloadgitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.tar.gz
gitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.zip
Finish team list, create new team, join/leave team page
Diffstat (limited to 'modules/auth/org.go')
-rw-r--r--modules/auth/org.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go
index 9598e6f834..6183e8c826 100644
--- a/modules/auth/org.go
+++ b/modules/auth/org.go
@@ -49,7 +49,7 @@ func (f *UpdateOrgSettingForm) Validate(ctx *macaron.Context, errs *binding.Erro
// \/ \/ \/
type CreateTeamForm struct {
- TeamName string `form:"name" binding:"Required;AlphaDashDot;MaxSize(30)"`
+ TeamName string `form:"team_name" binding:"Required;AlphaDashDot;MaxSize(30)"`
Description string `form:"desc" binding:"MaxSize(255)"`
Permission string `form:"permission"`
}