mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
site admin could view org's members (#9346)
This commit is contained in:
committed by
techknowlogick
parent
f6ba912cd6
commit
484e3dc5a9
@@ -15,6 +15,7 @@ import (
|
||||
"code.gitea.io/gitea/modules/context"
|
||||
"code.gitea.io/gitea/modules/setting"
|
||||
"code.gitea.io/gitea/modules/util"
|
||||
"code.gitea.io/gitea/routers/org"
|
||||
"code.gitea.io/gitea/routers/repo"
|
||||
)
|
||||
|
||||
@@ -83,7 +84,7 @@ func Profile(ctx *context.Context) {
|
||||
}
|
||||
|
||||
if ctxUser.IsOrganization() {
|
||||
showOrgProfile(ctx)
|
||||
org.Home(ctx)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user