1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -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.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