1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

#2155 fix org max repo limit default to -1

This commit is contained in:
Unknwon 2015-12-11 15:48:02 -05:00
parent d0b0d24f22
commit 4d31eb2c0d

View 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