|
|
|
@ -51,6 +51,7 @@ func CreatePost(ctx *context.Context, form auth.CreateOrgForm) {
|
|
|
|
|
IsActive: true, |
|
|
|
|
Type: models.UserTypeOrganization, |
|
|
|
|
Visibility: form.Visibility, |
|
|
|
|
RepoAdminChangeTeamAccess: form.RepoAdminChangeTeamAccess, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if err := models.CreateOrganization(org, ctx.User); err != nil { |
|
|
|
|