summaryrefslogtreecommitdiffstats
path: root/models/org.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-11 15:48:02 -0500
committerUnknwon <u@gogs.io>2015-12-11 15:48:02 -0500
commit4d31eb2c0df89ebf029b62fec7e79dbb80773cc3 (patch)
tree8ba6333638289dc75fb49ffdd4394d865aa49eda /models/org.go
parentd0b0d24f22f117eb6ae41a5180b8cdb7d957ac55 (diff)
downloadgitea-4d31eb2c0df89ebf029b62fec7e79dbb80773cc3.tar.gz
gitea-4d31eb2c0df89ebf029b62fec7e79dbb80773cc3.zip
#2155 fix org max repo limit default to -1
Diffstat (limited to 'models/org.go')
-rw-r--r--models/org.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/org.go b/models/org.go
index 5c3b0d12a1..608fd348d8 100644
--- a/models/org.go
+++ b/models/org.go
@@ -109,6 +109,7 @@ func CreateOrganization(org, owner *User) (err error) {
org.LowerName = strings.ToLower(org.Name)
org.FullName = org.Name
org.UseCustomAvatar = true
+ org.MaxRepoCreation = -1
org.NumTeams = 1
org.NumMembers = 1