diff options
author | Unknown <joe2010xtmf@163.com> | 2014-06-29 16:30:41 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-06-29 16:30:41 -0400 |
commit | e4ea5cf5984652e3966825bc2b68dd1abc3eef1c (patch) | |
tree | 7647c242061c1ab022db880733f0219f0af5bd2c /routers/repo/repo.go | |
parent | 99713e1180ad149faf6442bba311fec6e501aa00 (diff) | |
download | gitea-e4ea5cf5984652e3966825bc2b68dd1abc3eef1c.tar.gz gitea-e4ea5cf5984652e3966825bc2b68dd1abc3eef1c.zip |
Finish Teams page
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r-- | routers/repo/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 54e5fcfb20..44a2b84f80 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -90,7 +90,7 @@ func CreatePost(ctx *middleware.Context, form auth.CreateRepoForm) { } // Check ownership of organization. - if !models.IsOrganizationOwner(u.Id, ctx.User.Id) { + if !u.IsOrgOwner(ctx.User.Id) { ctx.Error(403) return } |