mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-25 21:44:20 -04:00
#2155 fix org max repo limit default to -1
This commit is contained in:
parent
d0b0d24f22
commit
4d31eb2c0d
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user