diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-26 07:40:50 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-26 07:40:50 -0400 |
commit | 3cc860a46fe696065618ed0800021336c1994671 (patch) | |
tree | 2b9c9b0b8d124bf8529c55923b28d235e35271a8 | |
parent | ed9b7d2db9d797105a62a0c2078c614ab90ff956 (diff) | |
download | gitea-3cc860a46fe696065618ed0800021336c1994671.tar.gz gitea-3cc860a46fe696065618ed0800021336c1994671.zip |
auth fix
-rw-r--r-- | routers/repo/issue.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 242593ff29..339d5a4da2 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -55,11 +55,6 @@ func Issues(ctx *middleware.Context, params martini.Params) { } func CreateIssue(ctx *middleware.Context, params martini.Params, form auth.CreateIssueForm) { - if !ctx.Repo.IsOwner { - ctx.Handle(404, "issue.CreateIssue", nil) - return - } - ctx.Data["Title"] = "Create issue" ctx.Data["IsRepoToolbarIssues"] = true |