Compare commits

...

2 Commits

Author SHA1 Message Date
Matthieu Lamalle 075be9b0df 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
Reviewed-on: #48
2024-11-06 11:13:10 +01:00
Rudy Masson 4e4c5d8e7b recherche login lower dans requête de connexion
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit Details
Cadoles/hydra-sql/pipeline/head This commit is unstable Details
2024-11-06 10:22:48 +01:00
2 changed files with 2 additions and 1 deletions

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
lts/iron

View File

@ -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().');';
} }
} }