fix(login) #59 : handle case earlier during login
Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit
Cadoles/hydra-sql/pipeline/head There was a failure building this commit

This commit is contained in:
2025-08-18 10:53:35 +02:00
parent 5f2654c3c4
commit 6faf465733
2 changed files with 1 additions and 2 deletions

View File

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