1
0
mirror of synced 2024-12-04 18:56:03 +03:00

Remove account isActive and isFreeze checks from ClientIdSubscriber

This commit is contained in:
gridnev 2020-07-09 17:20:59 +03:00
parent 92a0e575d4
commit 1daab343e0

View File

@ -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);
}