diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-10 20:11:18 -0700 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-10 20:11:18 -0700 |
commit | 5fbf8531e6a2b74ebc9dd2a5967e82a8c9216c7a (patch) | |
tree | 8c657d037a5c87ec13cc828244ae30d3fe1168ab /models/org.go | |
parent | 7af7584d25f48309a70083c30805ebb8454611f0 (diff) | |
download | gitea-5fbf8531e6a2b74ebc9dd2a5967e82a8c9216c7a.tar.gz gitea-5fbf8531e6a2b74ebc9dd2a5967e82a8c9216c7a.zip |
Finish new home page of organization
Diffstat (limited to 'models/org.go')
-rw-r--r-- | models/org.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/org.go b/models/org.go index 2efef534b4..edae828b54 100644 --- a/models/org.go +++ b/models/org.go @@ -106,6 +106,7 @@ func CreateOrganization(org, owner *User) (*User, error) { // Create default owner team. t := &Team{ OrgId: org.Id, + LowerName: strings.ToLower(OWNER_TEAM), Name: OWNER_TEAM, Authorize: ORG_ADMIN, NumMembers: 1, |