Compare commits
2 Commits
5f2654c3c4
...
3933f8bfba
Author | SHA1 | Date | |
---|---|---|---|
3933f8bfba | |||
6faf465733 |
@ -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 {
|
||||
|
@ -28,7 +28,6 @@ class SQLLoginService extends AbstractController
|
||||
public function fetchPasswordAndDatas(string $login): array
|
||||
{
|
||||
$dataRequest = $this->sqlLoginRequest->getDatasRequest();
|
||||
$login = \strtolower($login);
|
||||
$datas = $this->executeRequestWithLogin($dataRequest, $login);
|
||||
|
||||
return $datas;
|
||||
|
Reference in New Issue
Block a user