#2155 fix org max repo limit default to -1

release/v1.15
Unknwon 2015-12-11 15:48:02 -05:00
parent d0b0d24f22
commit 4d31eb2c0d
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ func CreateOrganization(org, owner *User) (err error) {
org.LowerName = strings.ToLower(org.Name) org.LowerName = strings.ToLower(org.Name)
org.FullName = org.Name org.FullName = org.Name
org.UseCustomAvatar = true org.UseCustomAvatar = true
org.MaxRepoCreation = -1
org.NumTeams = 1 org.NumTeams = 1
org.NumMembers = 1 org.NumMembers = 1