Always show followers/following page when admin
This commit is contained in:
parent
df06defbef
commit
4c86cd4be3
2 changed files with 4 additions and 4 deletions
|
@ -446,7 +446,7 @@ async def followers(
|
|||
)
|
||||
)
|
||||
|
||||
if config.HIDES_FOLLOWERS:
|
||||
if config.HIDES_FOLLOWERS and not is_current_user_admin(request):
|
||||
raise HTTPException(status_code=404)
|
||||
|
||||
# We only show the most recent 20 followers on the public website
|
||||
|
@ -505,7 +505,7 @@ async def following(
|
|||
)
|
||||
)
|
||||
|
||||
if config.HIDES_FOLLOWING:
|
||||
if config.HIDES_FOLLOWING and not is_current_user_admin(request):
|
||||
raise HTTPException(status_code=404)
|
||||
|
||||
# We only show the most recent 20 follows on the public website
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue