Debug
This commit is contained in:
@@ -413,6 +413,9 @@ func showOrgProfile(ctx *context.Context) {
|
||||
ctx.Data["Repos"] = repos
|
||||
} else {
|
||||
showPrivate := ctx.IsSigned && ctx.User.IsAdmin
|
||||
|
||||
fmt.Println("[DEBUG/home.go] showPrivate := ctx.IsSigned && ctx.User.IsAdmin: ", showPrivate)
|
||||
|
||||
repos, err = models.GetUserRepositories(org.ID, showPrivate, page, setting.UI.User.RepoPagingNum, "")
|
||||
if err != nil {
|
||||
ctx.ServerError("GetRepositories", err)
|
||||
|
||||
Reference in New Issue
Block a user