# Username check at account creation doesn't handle CaSe properly

**URL:** https://meta.discourse.org/t/username-check-at-account-creation-doesnt-handle-case-properly/49491
**Category:** Bug
**Created:** [August 31, 2016, 12:58pm UTC](https://meta.discourse.org/t/username-check-at-account-creation-doesnt-handle-case-properly/49491 "2016-08-31T12:58:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jooize](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jooize/32/537063_2.png) [@jooize](https://meta.discourse.org/u/jooize)
#### Post date: [August 31, 2016, 12:58pm UTC](https://meta.discourse.org/t/username-check-at-account-creation-doesnt-handle-case-properly/49491/1 "2016-08-31T12:58:03Z")

</div>

## Issue

Attempting to register as `Administrator` gives the impression it will succeed until you press Create New Account. Trying with `administrator` correctly presents the username as disallowed.

## Reproduce

1. Press Sign Up button in the upper right corner.
2. Enter valid email and password.
3. Enter username: `Administrator`
4. The text “Your username is available” appears.
5. Press Create New Account.
6. The text “That username is not allowed.” appears at the top.
7. Enter username: `administrator`
8. The text “Not available. Try administrator1?” appears.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [August 31, 2016, 1:54pm UTC](https://meta.discourse.org/t/username-check-at-account-creation-doesnt-handle-case-properly/49491/2 "2016-08-31T13:54:26Z")

</div>

Fixed in

[https://github.com/discourse/discourse/commit/90a0327fd2d3a62358965f2ea969739213f7a9f8](https://github.com/discourse/discourse/commit/90a0327fd2d3a62358965f2ea969739213f7a9f8)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [September 1, 2016, 1:54pm UTC](https://meta.discourse.org/t/username-check-at-account-creation-doesnt-handle-case-properly/49491/3 "2016-09-01T13:54:37Z")

</div>

This topic was automatically closed after 24 hours. New replies are no longer allowed.
