# Deviseでusernameの大文字小文字を区別する方法

```
  # Configure which authentication keys should be case-insensitive.
  # These keys will be downcased upon creating or modifying a user and when used
  # to authenticate or find a user. Default is :email.
  config.case_insensitive_keys = []
```

https://teratail.com/questions/257366

---

## Page Navigation

- Canonical URL: https://tips.weseek.co.jp/Tips/Ruby/Rails/Deviseでusernameの大文字小文字を区別する方法
- Permalink: https://tips.weseek.co.jp/61c5307c50c8297f6d0ab62d
- Parent: [Rails](/61c5303150c829d06f0ab20b.md)
- Children: 0 total
- Total descendants: 0
- Siblings: 0 total
- Last updated: 2021-12-24T02:29:16.855Z by deleted_at_1769744008064
- Full page listing (all children regardless of count): https://tips.weseek.co.jp/_api/v3/page-listing/children?id=61c5307c50c8297f6d0ab62d
