# Can't add user with underscore in their username to a custom group

**URL:** <https://meta.discourse.org/t/cant-add-user-with-underscore-in-their-username-to-a-custom-group/62468>\
**Category:** Bug\
**Created:** [2017 年 5 月 10 日午後 10:41 UTC](https://meta.discourse.org/t/cant-add-user-with-underscore-in-their-username-to-a-custom-group/62468 "2017-05-10T22:41:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicholas\_Tolstoshev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nicholas_tolstoshev/32/62714_2.png) [@Nicholas\_Tolstoshev](https://meta.discourse.org/u/Nicholas_Tolstoshev)\
**Post date:** [2017 年 5 月 10 日午後 10:41 UTC](https://meta.discourse.org/t/cant-add-user-with-underscore-in-their-username-to-a-custom-group/62468/1 "2017-05-10T22:41:13Z")

</div>

I created a custom group and I’m adding users to it. The add members field won’t seem to autocomplete for a user that has a \_ in their username. I was able to go to that user’s admin page and add them to the group that way, but it wouldn’t work from the group settings page. Is this a known issue?

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2017 年 5 月 31 日午後 8:05 UTC](https://meta.discourse.org/t/cant-add-user-with-underscore-in-their-username-to-a-custom-group/62468/2 "2017-05-31T20:05:39Z")

</div>

I am unable to repro this issue, can you provide me with a screen shot?

---

<div class="post-metadata">

**Author:** ![Nicholas\_Tolstoshev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nicholas_tolstoshev/32/62714_2.png) [@Nicholas\_Tolstoshev](https://meta.discourse.org/u/Nicholas_Tolstoshev)\
**Post date:** [2017 年 5 月 31 日午後 8:18 UTC](https://meta.discourse.org/t/cant-add-user-with-underscore-in-their-username-to-a-custom-group/62468/3 "2017-05-31T20:18:34Z")

</div>

It seems to be working now - this must have been fixed since the version I was having the issue on.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2017 年 5 月 31 日午後 8:21 UTC](https://meta.discourse.org/t/cant-add-user-with-underscore-in-their-username-to-a-custom-group/62468/4 "2017-05-31T20:21:19Z")

</div>


