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