@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
| 6 | 6 | use Doctrine\ORM\Mapping as ORM; |
| 7 | 7 | use Knp\DoctrineBehaviors\Model as ORMBehaviors; |
| 8 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 9 | 8 | |
| 10 | 9 | /** |
| 11 | 10 | * Event |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Doctrine\ORM\EntityManager; |
| 8 | 8 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 9 | 9 | use Symfony\Component\HttpFoundation\Request; |
| 10 | -use Symfony\Component\HttpFoundation\Response; |
|
| 11 | 10 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
| 12 | 11 | use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException; |
| 13 | 12 | use Symfony\Component\Security\Core\Exception\AuthenticationException; |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | class DefaultController extends Controller |
| 12 | 12 | { |
| 13 | 13 | /** |
| 14 | - |
|
| 15 | 14 | * @param Request $request |
| 16 | 15 | * @Route("/login", name="api_login") |
| 17 | 16 | * @return JsonResponse |