mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
Mirror fix on UI
This commit is contained in:
1 parent
a9e6d49dc6
commit
e10096ee2e
5 files changed
+8
-4
No files matched your search
@@ -45,6 +45,7 @@ func RepoAssignment(redirect bool, args ...bool) martini.Handler {
|
||||
repoName := params["reponame"]
|
||||
refName := params["branchname"]
|
||||
|
||||
// TODO: check collaborators
|
||||
// get repository owner
|
||||
ctx.Repo.IsOwner = ctx.IsSigned && ctx.User.LowerName == strings.ToLower(userName)
|
||||
|
||||
|
||||
Reference in new issue
Block a user