浏览代码

Merge branch 'develop'

develop
Guillaume 2 年前
父节点
当前提交
3e3288b4c1
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      Authenticator/LoginFormAuthenticator.php
  2. +1
    -1
      Controller/ControllerTrait.php

+ 1
- 1
Authenticator/LoginFormAuthenticator.php 查看文件

@@ -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 查看文件

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

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

正在加载...
取消
保存