1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-06 03:15:48 +00: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