SearchUsers now case insensitive.

This commit is contained in:
Karchnu 2020-09-08 14:51:16 +02:00
parent 0265383d05
commit 9daf93147d

View File

@ -403,7 +403,7 @@ class AuthD::Service
Response::PasswordRecovered.new user.to_public
when Request::SearchUser
pattern = Regex.new request.user
pattern = Regex.new request.user, Regex::Options::IGNORE_CASE
matching_users = Array(AuthD::User::Public).new