diff --git a/src/UserManager.php b/src/UserManager.php index d45738d..9251508 100644 --- a/src/UserManager.php +++ b/src/UserManager.php @@ -260,7 +260,7 @@ protected function getUserDataByUsername($username, array $requestedColumns) { $projection = \implode(', ', $requestedColumns); $users = $this->db->select( - 'SELECT ' . $projection . ' FROM ' . $this->makeTableName('users') . ' WHERE username = ? LIMIT 2 OFFSET 0', + 'SELECT ' . $projection . ' FROM ' . $this->makeTableName('users') . ' WHERE username = ? COLLATE NOCASE LIMIT 2 OFFSET 0', [ $username ] ); }