# Hide anonymous users in the user directory

**URL:** https://meta.discourse.org/t/hide-anonymous-users-in-the-user-directory/130542
**Category:** Feature
**Tags:** completed, anonymous-mode
**Created:** [October 9, 2019, 4:49am UTC](https://meta.discourse.org/t/hide-anonymous-users-in-the-user-directory/130542 "2019-10-09T04:49:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bdhays](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@bdhays](https://meta.discourse.org/u/bdhays)
#### Post date: [October 9, 2019, 4:49am UTC](https://meta.discourse.org/t/hide-anonymous-users-in-the-user-directory/130542/1 "2019-10-09T04:49:39Z")

</div>

I’m testing a self-hosted instance of Discourse with “allow anonymous posting” enabled. I’ve gone into Anonymous Mode a few times with a couple of different test accounts, so there are now four anonymous users (anonymous, anonymous1, etc).

I’m noticing that when I go to the user directory (Hamburger menu → Users), all of the anonymous users are listed along with the regular accounts. Even the anonymous accounts that have “timed out” so that their original owners can no longer access them are showing up.

Is there any way to hide the anonymous users in the user directory? I can see where, especially if I set “anonymous account duration minutes” to a lower value, I could end up with a lot of anonymous user accounts hanging around, which could make the directory harder to browse.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [September 12, 2024, 9:36pm UTC](https://meta.discourse.org/t/hide-anonymous-users-in-the-user-directory/130542/2 "2024-09-12T21:36:43Z")

</div>

Better late than never! We are now no longer including anonymous users in the user directory. They also do not show up in the tally of users on the directory or about page.

[https://github.com/discourse/discourse/pull/28892](https://github.com/discourse/discourse/pull/28892)

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [September 13, 2024, 8:34pm UTC](https://meta.discourse.org/t/hide-anonymous-users-in-the-user-directory/130542/3 "2024-09-13T20:34:09Z")

</div>


