# Nome de usuário alterado após atualização do Discourse

**URL:** https://meta.discourse.org/t/username-changed-after-discourse-upgrade/92099
**Category:** Support
**Created:** [11 Julho , 2018 15:55 UTC](https://meta.discourse.org/t/username-changed-after-discourse-upgrade/92099 "2018-07-11T15:55:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chipet92s](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chipet92s/32/86441_2.png) [@chipet92s](https://meta.discourse.org/u/chipet92s)
#### Post date: [11 Julho , 2018 15:55 UTC](https://meta.discourse.org/t/username-changed-after-discourse-upgrade/92099/1 "2018-07-11T15:55:02Z")

</div>

My username changed from “martin” to “martin1” after doing an upgrade and I can’t change it back to “martin”. It says username must be unique but there is no “martin” user anymore.

No other user was affected.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [11 Julho , 2018 16:27 UTC](https://meta.discourse.org/t/username-changed-after-discourse-upgrade/92099/2 "2018-07-11T16:27:25Z")

</div>

There is likely a group with the name `martin`. Users and groups cannot share the same name.

There was previously a bug which allowed this to happen, but it has now been fixed - that’s why your username has been changed automatically.

We should probably update the error message here to make it clear that a username must not match any group names. Added to my list to investigate

---

<div class="post-metadata">

### Author: ![chipet92s](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chipet92s/32/86441_2.png) [@chipet92s](https://meta.discourse.org/u/chipet92s)
#### Post date: [11 Julho , 2018 19:58 UTC](https://meta.discourse.org/t/username-changed-after-discourse-upgrade/92099/4 "2018-07-11T19:58:15Z")

</div>

Yes, there was a group with that name. Thank you.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [10 Agosto , 2018 19:58 UTC](https://meta.discourse.org/t/username-changed-after-discourse-upgrade/92099/5 "2018-08-10T19:58:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
