Set Visibility Public by default when creating new organization
This commit is contained in:
parent
c2a75b3762
commit
4df763c3b1
|
@ -125,6 +125,7 @@ func CreateOrganization(org, owner *User) (err error) {
|
|||
org.NumTeams = 1
|
||||
org.NumMembers = 1
|
||||
org.Type = UserTypeOrganization
|
||||
org.Visibility = VisibleTypePublic
|
||||
|
||||
sess := x.NewSession()
|
||||
defer sessionRelease(sess)
|
||||
|
|
Loading…
Reference in New Issue
Block a user