diff --git a/EventSubscriber/ClientIdSubscriber.php b/EventSubscriber/ClientIdSubscriber.php index f6e6439..47193e7 100644 --- a/EventSubscriber/ClientIdSubscriber.php +++ b/EventSubscriber/ClientIdSubscriber.php @@ -66,12 +66,6 @@ class ClientIdSubscriber implements EventSubscriberInterface if (null === $account) { throw new AccessDeniedHttpException('ClientId not found'); } - if (!$account->isActive()) { - throw new AccessDeniedHttpException('Account is not active'); - } - if ($account->isFreeze()) { - throw new AccessDeniedHttpException('Account is freezed'); - } $this->moduleManager->setAccount($account); }