Debug
parent
20358b29b8
commit
b254f31a7e
|
|
@ -132,7 +132,6 @@ func Dashboard(ctx *context.Context) { // showing dashboard see routes.go:417
|
|||
}
|
||||
ctx.Data["MirrorCount"] = len(mirrors)
|
||||
ctx.Data["Mirrors"] = mirrors
|
||||
ctx.Data["Repos"] = mirrors
|
||||
|
||||
retrieveFeeds(ctx, models.GetFeedsOptions{
|
||||
RequestedUser: ctxUser,
|
||||
|
|
@ -398,6 +397,8 @@ func showOrgProfile(ctx *context.Context) {
|
|||
|
||||
fmt.Println("[DEBUG/user/home.go] ctx.IsSigned, ctx.User.IsAdmin: ", ctx.IsSigned, ", ", ctx.User.IsAdmin, " = ", ctx.IsSigned && ctx.User.IsAdmin)
|
||||
|
||||
fmt.Println("[DEBUG/user/home.go] ctx.User.Name: ", ctx.User.Name)
|
||||
|
||||
if ctx.IsSigned && !ctx.User.IsAdmin {
|
||||
env, err := org.AccessibleReposEnv(ctx.User.ID)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue