# Problems with two users with same name/username (but upper/lowercase)

**URL:** https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243
**Category:** Support
**Created:** [September 7, 2020, 11:37am UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243 "2020-09-07T11:37:05Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![tmomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tmomas/32/109144_2.png) [@tmomas](https://meta.discourse.org/u/tmomas)
#### Post date: [September 7, 2020, 11:37am UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/1 "2020-09-07T11:37:05Z")

</div>

Today I needed to review a posting by a new user:

 ![grafik](https://global.discourse-cdn.com/meta/original/3X/8/e/8ef82c0fad8969eb085b25a9d3e868ff41df9aee.png)

Please mind: This is _lowercase_ lars

We have in fact one uppercase and one lowercase lars/Lars:

![grafik](https://global.discourse-cdn.com/meta/original/3X/b/d/bd07817b92f42e67c170db7d1b03970d28090f5d.png)

**Problem #1:** I can not get to lars’ profile

- When I click on lars’ (_lowercase_) avatar, the profile of user “Lars” (_uppercase_) opens up.
- When I click on lars, I get this  
 ![grafik](https://global.discourse-cdn.com/meta/original/3X/c/6/c6b88eae133cb3253d2a48ee1f5b2eb1bdeb5ea9.png)  
Mind the mixed lars/Lars spelling, which should not exists according the screenshot above (either name + username all lowercase or all upercase, but not mixed)

**Problem #2:** I can not approve the post, since I’m getting a “500 Internal Server Error”  
I guess the key would be to rename lowercase lars to “lars1” or such, but how to do that, when I can not get to his profile?

lowercase lars: new user  
uppercase Lars: joined 3 years ago

---

<div class="post-metadata">

### Author: ![tmomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tmomas/32/109144_2.png) [@tmomas](https://meta.discourse.org/u/tmomas)
#### Post date: [September 7, 2020, 12:19pm UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/2 "2020-09-07T12:19:16Z")

</div>

Solved it myself: lars userprofile is accessible via the Admin → Users → New users menu  
Once at his profile, I changed the username to lars1, and then I was able to approve lars’ posting.

Thanks for listening anyways! 🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 7, 2020, 2:00pm UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/3 "2020-09-07T14:00:46Z")

</div>

Are you on a recent version of Discourse? This is a bug.

---

<div class="post-metadata">

### Author: ![tmomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tmomas/32/109144_2.png) [@tmomas](https://meta.discourse.org/u/tmomas)
#### Post date: [September 7, 2020, 5:10pm UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/4 "2020-09-07T17:10:45Z")

</div>

We are on 2.6.0.beta2, the latest currently available version.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [September 8, 2020, 11:39pm UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/5 "2020-09-08T23:39:16Z")

</div>

How are users being created on your site? Are you using SSO to log users into the site?

When username/password registration is enabled, attempting to signup with an uppercase version of a username that is already being used on the site should show an error similar to this (the username `casetest` is already in use on my site):

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/4/f49144d18f55026fad01fd3d770d7feb2defa8c8.png)

---

<div class="post-metadata">

### Author: ![tmomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tmomas/32/109144_2.png) [@tmomas](https://meta.discourse.org/u/tmomas)
#### Post date: [September 9, 2020, 2:57pm UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/6 "2020-09-09T14:57:27Z")

</div>

Logon can happen either via github or user/pass.

I just tried to create a new user Lars ( **we have already a user with username + name = Lars** ):

 ![grafik](https://global.discourse-cdn.com/meta/original/3X/3/f/3fe9ab3067546072ad9dd7a16eaaf8c827879f7e.png)

Strangely when trying to signup with this already existing username, it gets shown as available.

Strange too: I can reach Lars’ profile via _Admin → Users_, but when I click on  
_Show Public Profile_, I get an 404 error:

# Oops! That page doesn’t exist or is private.

Maybe the [renaming of lars → lars1](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/2) broke something?

---

<div class="post-metadata">

### Author: ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)
#### Post date: [September 9, 2020, 3:18pm UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/7 "2020-09-09T15:18:31Z")

</div>

> [@tmomas](#):
>
> Maybe the [renaming of lars → lars1](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/2) broke something?

It would maybe appear that the profile “Lars” has a problem since a while, reason why another account with the same name was possible to create (or now again, when you try).

Why don’t you have a look at an account you’re sure everything is OK, and try to create another one with the same name ?

---

<div class="post-metadata">

### Author: ![tmomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tmomas/32/109144_2.png) [@tmomas](https://meta.discourse.org/u/tmomas)
#### Post date: [September 9, 2020, 3:59pm UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/8 "2020-09-09T15:59:27Z")

</div>

> [@Mevo](#):
>
> It would maybe appear that the profile “Lars” has a problem since a while, reason why another account with the same name was possible to create (or now again, when you try).

Seems you are right. I just tried with arbitrary other already existing usernames and I wasn’t able to create a new user with an already existing username.

Is there anything that can be done to make Lars’ public profile working again (and avoid some other lars/Lars signing up and creating problems again)?

---

<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: [October 9, 2020, 4:12pm UTC](https://meta.discourse.org/t/problems-with-two-users-with-same-name-username-but-upper-lowercase/163243/9 "2020-10-09T16:12:35Z")

</div>

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