This website works better with JavaScript.
首頁
探索
說明
登入
mirrors
/
gitea
镜像来自
https://github.com/go-gitea/gitea.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
210
Wiki
Activity
瀏覽代碼
Make /users/{username}/repos list private repos the current user has access to (
#8621
)
tags/v1.11.0-rc1
7FM
4 年之前
父節點
ace0346c66
當前提交
22272fe1e4
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
顯示文件統計
1
1
routers/api/v1/user/repo.go
+ 1
- 1
routers/api/v1/user/repo.go
查看文件
@@ -52,7 +52,7 @@ func ListUserRepos(ctx *context.APIContext) {
if ctx.Written() {
return
}
private := ctx.IsSigned
&& (ctx.User.ID == user.ID || ctx.User.IsAdmin)
private := ctx.IsSigned
listUserRepos(ctx, user, private)
}
Write
Preview
Loading…
取消
儲存