fix case insensitive username match for LDAP

This commit is contained in:
Oliver Gorwits
2018-03-26 22:57:01 +01:00
parent 3d5a26266e
commit d9a0103150
3 changed files with 6 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ sub get_user_details {
my $user = try {
$database->resultset($users_table)->find({
$username_column => { -ilike => $username },
$username_column => { -ilike => quotemeta($username) },
});
};