@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use FOS\UserBundle\Entity\User as BaseUser; |
| 7 | 7 | use Overwatch\ResultBundle\Entity\TestResult; |
| 8 | 8 | use Overwatch\UserBundle\Enum\AlertSetting; |
| 9 | -use Symfony\Component\Security\Core\Util\SecureRandom; |
|
| 10 | 9 | |
| 11 | 10 | /** |
| 12 | 11 | * User |
@@ -5,13 +5,13 @@ |
||
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | 6 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 7 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 8 | -use Symfony\Component\Security\Http\Authentication\SimplePreAuthenticatorInterface; |
|
| 9 | 8 | use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken; |
| 10 | 9 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
| 11 | 10 | use Symfony\Component\Security\Core\Exception\AuthenticationException; |
| 12 | 11 | use Symfony\Component\Security\Core\Exception\BadCredentialsException; |
| 13 | 12 | use Symfony\Component\Security\Core\User\UserProviderInterface; |
| 14 | 13 | use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface; |
| 14 | +use Symfony\Component\Security\Http\Authentication\SimplePreAuthenticatorInterface; |
|
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * ApiAuthenticator |