Compare commits
2 Commits
symfony-co
...
develop
Author | SHA1 | Date |
---|---|---|
Matthieu Lamalle | 075be9b0df | |
Rudy Masson | 4e4c5d8e7b |
|
@ -103,6 +103,6 @@ class SQLLoginRequest
|
||||||
{
|
{
|
||||||
$fields = join(',', array_merge($this->getPasswordFields(), $this->getDataFields()));
|
$fields = join(',', array_merge($this->getPasswordFields(), $this->getDataFields()));
|
||||||
|
|
||||||
return 'SELECT '.$fields.' FROM '.$this->getTableName().' WHERE '.$this->getLoginColumnName().' = :'.$this->getLoginColumnName().';';
|
return 'SELECT '.$fields.' FROM '.$this->getTableName().' WHERE LOWER('.$this->getLoginColumnName().') = LOWER(:'.$this->getLoginColumnName().');';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue