Skip to content

Commit

Permalink
reset
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon committed Mar 8, 2019
1 parent 685c2b3 commit ed2cd90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_users/models/reset.php
Expand Up @@ -379,7 +379,7 @@ public function processResetRequest($data)
$query = $db->getQuery(true)
->select('id')
->from($db->quoteName('#__users'))
->where($db->quoteName('email') . ' = ' . $db->quote($data['email']));
->where('LOWER(' . $db->quoteName('email') . ') = LOWER(' . $db->quote($data['email']) . ')');

// Get the user object.
$db->setQuery($query);
Expand Down

0 comments on commit ed2cd90

Please sign in to comment.