@@ -50,7 +50,7 @@ class LoginFormAuthenticator extends AbstractLoginFormAuthenticator | |||
public function authenticate(Request $request): PassportInterface | |||
{ | |||
$email = $request->request->get('email'); | |||
$email = trim($request->request->get('email')); | |||
$password = $request->request->get('password'); | |||
$csrfToken = $request->request->get('_csrf_token'); | |||
@@ -39,7 +39,7 @@ use Twig\Environment; | |||
trait ControllerTrait | |||
{ | |||
public static function getSubscribedServices(): array | |||
public static function getSubscribedServices() | |||
{ | |||
return array_merge( | |||
parent::getSubscribedServices(), |