public function doPost(JsonResponse $response, LoginForm $form) { Auth::login($form); }
public function doPost(JsonResponse $response) { Auth::logout(); }