diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-12-14 14:36:59 +0800 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-12-14 01:36:59 -0500 |
commit | 484e3dc5a9012a50838bf8d00de3ffd136c0759b (patch) | |
tree | b9b323e1f272ed11dd3d5fabc729e80df7e998dc /routers/user/profile.go | |
parent | f6ba912cd6e1868e8f66c5a38cbe317f243d7806 (diff) | |
download | gitea-484e3dc5a9012a50838bf8d00de3ffd136c0759b.tar.gz gitea-484e3dc5a9012a50838bf8d00de3ffd136c0759b.zip |
site admin could view org's members (#9346)
Diffstat (limited to 'routers/user/profile.go')
-rw-r--r-- | routers/user/profile.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/user/profile.go b/routers/user/profile.go index 8a62ddeac0..90e832b530 100644 --- a/routers/user/profile.go +++ b/routers/user/profile.go @@ -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 } |