SearchUsers now case insensitive.
This commit is contained in:
parent
0265383d05
commit
9daf93147d
@ -403,7 +403,7 @@ class AuthD::Service
|
|||||||
|
|
||||||
Response::PasswordRecovered.new user.to_public
|
Response::PasswordRecovered.new user.to_public
|
||||||
when Request::SearchUser
|
when Request::SearchUser
|
||||||
pattern = Regex.new request.user
|
pattern = Regex.new request.user, Regex::Options::IGNORE_CASE
|
||||||
|
|
||||||
matching_users = Array(AuthD::User::Public).new
|
matching_users = Array(AuthD::User::Public).new
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user