From fb0ee192ae2da71ea141685a18456d6003466d9b Mon Sep 17 00:00:00 2001 From: vcarroy Date: Tue, 3 Dec 2024 16:03:08 +0100 Subject: [PATCH] =?UTF-8?q?revert=20recherche=20lowercase=20dans=20la=20re?= =?UTF-8?q?qu=C3=AAte=20de=20connexion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/SQLLogin/SQLLoginRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SQLLogin/SQLLoginRequest.php b/src/SQLLogin/SQLLoginRequest.php index 82a0b17..0f173f4 100644 --- a/src/SQLLogin/SQLLoginRequest.php +++ b/src/SQLLogin/SQLLoginRequest.php @@ -103,6 +103,6 @@ class SQLLoginRequest { $fields = join(',', array_merge($this->getPasswordFields(), $this->getDataFields())); - return 'SELECT '.$fields.' FROM '.$this->getTableName().' WHERE LOWER('.$this->getLoginColumnName().') = LOWER(:'.$this->getLoginColumnName().');'; + return 'SELECT '.$fields.' FROM '.$this->getTableName().' WHERE '.$this->getLoginColumnName().' = :'.$this->getLoginColumnName().';'; } } -- 2.17.1