diff --git a/src/server/components/UserDatabase.ts b/src/server/components/UserDatabase.ts index 442ca7d..0c2c942 100644 --- a/src/server/components/UserDatabase.ts +++ b/src/server/components/UserDatabase.ts @@ -164,7 +164,7 @@ class UserDatabase implements UserDatabaseInterface if (name) { if (partialName) - query.name = { $regex: name }; + query.name = { $regex: name, $options: 'i' }; else query.name = { $regex: `^${name}$`, $options: 'i' }; }