Browse Source

Merge branch 'develop'

develop
Guillaume 2 years ago
parent
commit
3e3288b4c1
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Authenticator/LoginFormAuthenticator.php
  2. +1
    -1
      Controller/ControllerTrait.php

+ 1
- 1
Authenticator/LoginFormAuthenticator.php View File



public function authenticate(Request $request): PassportInterface public function authenticate(Request $request): PassportInterface
{ {
$email = $request->request->get('email');
$email = trim($request->request->get('email'));
$password = $request->request->get('password'); $password = $request->request->get('password');
$csrfToken = $request->request->get('_csrf_token'); $csrfToken = $request->request->get('_csrf_token');



+ 1
- 1
Controller/ControllerTrait.php View File



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

Loading…
Cancel
Save