@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace LoginCidadao\OAuthBundle\Entity; |
| 3 | 3 | |
| 4 | 4 | use Doctrine\ORM\Mapping as ORM; |
| 5 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 6 | 5 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use LoginCidadao\OpenIDBundle\Entity\ClientMetadata; |
| 8 | 8 | use LoginCidadao\OpenIDBundle\Manager\ClientManager; |
| 9 | 9 | use LoginCidadao\OpenIDBundle\Validator\SectorIdentifierUriChecker; |
| 10 | -use Symfony\Bundle\FrameworkBundle\Client; |
|
| 11 | 10 | use Symfony\Component\HttpFoundation\Request; |
| 12 | 11 | use OAuth2\ServerBundle\Controller\AuthorizeController as BaseController; |
| 13 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
@@ -10,8 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace LoginCidadao\OpenIDBundle\Validator\Constraints; |
| 12 | 12 | |
| 13 | -use Doctrine\ORM\EntityManager; |
|
| 14 | -use LoginCidadao\OAuthBundle\Entity\Client; |
|
| 15 | 13 | use LoginCidadao\OAuthBundle\Entity\Organization; |
| 16 | 14 | use LoginCidadao\OAuthBundle\Entity\OrganizationRepository; |
| 17 | 15 | use LoginCidadao\OpenIDBundle\Entity\ClientMetadata; |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Symfony\Component\Translation\TranslatorInterface; |
| 17 | 17 | use LoginCidadao\ValidationBundle\Validator\Constraints\UsernameValidator; |
| 18 | 18 | use Doctrine\ORM\EntityManager; |
| 19 | -use LoginCidadao\CoreBundle\Exception\LcEmailException; |
|
| 20 | 19 | use LoginCidadao\CoreBundle\Entity\Authorization; |
| 21 | 20 | |
| 22 | 21 | class RegisterListner implements EventSubscriberInterface |