diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-07-26 23:53:16 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-07-26 23:53:16 -0400 |
commit | 98131614119f39a3f341392c98a4d2320b5b8e21 (patch) | |
tree | 041d90457cd9213d6214faca4001af5a849bbe90 /modules/auth/org.go | |
parent | 5e8138341357f367868a32b631495c9d5a286477 (diff) | |
download | gitea-98131614119f39a3f341392c98a4d2320b5b8e21.tar.gz gitea-98131614119f39a3f341392c98a4d2320b5b8e21.zip |
Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
Diffstat (limited to 'modules/auth/org.go')
-rw-r--r-- | modules/auth/org.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go index c45d83a711..0895780e3f 100644 --- a/modules/auth/org.go +++ b/modules/auth/org.go @@ -19,7 +19,7 @@ import ( // \/ /_____/ \/ \/ \/ \/ \/ type CreateOrgForm struct { - OrgName string `form:"orgname" binding:"Required;AlphaDashDot;MaxSize(30)"` + OrgName string `form:"org_name" binding:"Required;AlphaDashDot;MaxSize(30)"` Email string `form:"email" binding:"Required;Email;MaxSize(50)"` } |