recherche login lower dans requête de connexion
This commit is contained in:
parent
7032787d8c
commit
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