]> source.dussan.org Git - gitea.git/commitdiff
#2155 fix org max repo limit default to -1
authorUnknwon <u@gogs.io>
Fri, 11 Dec 2015 20:48:02 +0000 (15:48 -0500)
committerUnknwon <u@gogs.io>
Fri, 11 Dec 2015 20:48:02 +0000 (15:48 -0500)
models/org.go

index 5c3b0d12a1c15211f5aa04895b7ba309bbe15a6d..608fd348d8392010b2e50995c94d8c5ae6442936 100644 (file)
@@ -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