summaryrefslogtreecommitdiffstats
path: root/modules/auth/org.go
diff options
context:
space:
mode:
authorDavid Svantesson <davidsvantesson@gmail.com>2019-10-14 20:20:42 +0200
committerzeripath <art27@cantab.net>2019-10-14 19:20:42 +0100
commit366806db3219ee75010d7f699cc34e6264ab2685 (patch)
tree4fc2ea82913062299c72c7552cd817e493cb3410 /modules/auth/org.go
parent54c137b373bc05885d710653faaf23ee18cc1807 (diff)
downloadgitea-366806db3219ee75010d7f699cc34e6264ab2685.tar.gz
gitea-366806db3219ee75010d7f699cc34e6264ab2685.zip
Fix errors in create org UI regarding team access permission. (#8506)
Diffstat (limited to 'modules/auth/org.go')
-rw-r--r--modules/auth/org.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go
index 2abffdf74e..94e659cb5b 100644
--- a/modules/auth/org.go
+++ b/modules/auth/org.go
@@ -22,8 +22,9 @@ import (
// CreateOrgForm form for creating organization
type CreateOrgForm struct {
- OrgName string `binding:"Required;AlphaDashDot;MaxSize(40)" locale:"org.org_name_holder"`
- Visibility structs.VisibleType
+ OrgName string `binding:"Required;AlphaDashDot;MaxSize(40)" locale:"org.org_name_holder"`
+ Visibility structs.VisibleType
+ RepoAdminChangeTeamAccess bool
}
// Validate validates the fields