Merge pull request 'recherche login lower dans requête de connexion' (#48) from issue-47 into develop
Cadoles/hydra-sql/pipeline/head This commit is unstable
Details
Cadoles/hydra-sql/pipeline/head This commit is unstable
Details
Reviewed-on: #48
This commit is contained in:
commit
075be9b0df
|
@ -103,6 +103,6 @@ class SQLLoginRequest
|
|||
{
|
||||
$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