diff options
Diffstat (limited to 'modules/auth')
-rw-r--r-- | modules/auth/org.go | 5 |
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 |