1 Commits

Author SHA1 Message Date
de3731a63d chore(symfony) #57 : bump symfony to version 6.4 and fix deprecations
Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit
2025-07-16 14:39:15 +02:00
3 changed files with 4 additions and 3 deletions

View File

@ -26,6 +26,7 @@
"symfony/translation": "6.4.*",
"symfony/twig-bundle": "6.4.*",
"symfony/validator": "6.4.*",
"symfony/web-profiler-bundle": "6.4.*",
"symfony/webpack-encore-bundle": "^1.16",
"symfony/yaml": "6.4.*"
},
@ -80,7 +81,6 @@
},
"require-dev": {
"rector/rector": "^2.1",
"symfony/debug-bundle": "6.4.*",
"symfony/web-profiler-bundle": "6.4.*"
"symfony/debug-bundle": "6.4.*"
}
}

View File

@ -60,7 +60,7 @@ class SQLLoginUserAuthenticator extends AbstractLoginFormAuthenticator
public function authenticate(Request $request): SelfValidatingPassport
{
$form = $request->request->all(key: 'login');
$login = \strtolower($form['login']);
$login = $form['login'];
$plaintextPassword = $form['password'];
$session = $request->getSession();
try {

View File

@ -28,6 +28,7 @@ class SQLLoginService extends AbstractController
public function fetchPasswordAndDatas(string $login): array
{
$dataRequest = $this->sqlLoginRequest->getDatasRequest();
$login = \strtolower($login);
$datas = $this->executeRequestWithLogin($dataRequest, $login);
return $datas;