<p>I've tested this locally on Craft3 and Craft2 and it seems that the username field is not case sensitive (e.g. <code>admin</code>, <code>ADMIN</code>, and <code>AdMiN</code> all worked equally as well for me).</p>

CC BY-SA 4.0
2018-10-04T14:11:37.777Z
2018-10-04T14:11:37.777Z
Jalen Davenport
<p>Is craft's username field case sensitive when logging in?</p>

<p>I'm importing 80 users into the database and when emailing the users I want to be sure how this works so we don't hit issues when they all try to log in.</p>

<p>Many thanks</p>

<users><login>
Case Sensitive username
# Case Sensitive username

(Asked by: username_0 on 2018-10-04)

Is craft's username field case sensitive when logging in?

I'm importing 80 users into the database and when emailing the users I want to be sure how this works so we don't hit issues when they all try to log in.

Many thanks

**Tags:** users, login


---

## 1 answers

### Answer by username_1 on 2018-10-04. Score: 2 | Accepted answer

I've tested this locally on Craft3 and Craft2 and it seems that the username field is not case sensitive (e.g. `admin`, `ADMIN`, and `AdMiN` all worked equally as well for me).


---

