Ver código fonte

Merge branch 'develop'

develop
Guillaume 2 anos atrás
pai
commit
3e3288b4c1
2 arquivos alterados com 2 adições e 2 exclusões
  1. +1
    -1
      Authenticator/LoginFormAuthenticator.php
  2. +1
    -1
      Controller/ControllerTrait.php

+ 1
- 1
Authenticator/LoginFormAuthenticator.php Ver arquivo

@@ -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');


+ 1
- 1
Controller/ControllerTrait.php Ver arquivo

@@ -39,7 +39,7 @@ use Twig\Environment;

trait ControllerTrait
{
public static function getSubscribedServices(): array
public static function getSubscribedServices()
{
return array_merge(
parent::getSubscribedServices(),

Carregando…
Cancelar
Salvar