diff options
author | Unknwon <u@gogs.io> | 2015-12-11 15:48:02 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-11 15:48:02 -0500 |
commit | 4d31eb2c0df89ebf029b62fec7e79dbb80773cc3 (patch) | |
tree | 8ba6333638289dc75fb49ffdd4394d865aa49eda /models/org.go | |
parent | d0b0d24f22f117eb6ae41a5180b8cdb7d957ac55 (diff) | |
download | gitea-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.go | 1 |
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 |