summaryrefslogtreecommitdiffstats
path: root/routers/private
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private')
-rw-r--r--routers/private/serv.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/private/serv.go b/routers/private/serv.go
index 2697666b87..182fe27245 100644
--- a/routers/private/serv.go
+++ b/routers/private/serv.go
@@ -114,7 +114,7 @@ func ServCommand(ctx *macaron.Context) {
})
return
}
- if !owner.IsActive {
+ if !owner.IsOrganization() && !owner.IsActive {
ctx.JSON(http.StatusForbidden, map[string]interface{}{
"results": results,
"type": "ForbiddenError",