diff --git a/src/Controller/FindologicController.php b/src/Controller/FindologicController.php index f92c6d12..30ddf52f 100644 --- a/src/Controller/FindologicController.php +++ b/src/Controller/FindologicController.php @@ -16,8 +16,8 @@ namespace Pimcore\Bundle\EcommerceFrameworkBundle\Controller; -use Pimcore\Controller\FrontendController; use Pimcore\Controller\KernelControllerEventInterface; +use Pimcore\Controller\UserAwareController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Event\ControllerEvent; @@ -29,7 +29,7 @@ * * @internal */ -class FindologicController extends FrontendController implements KernelControllerEventInterface +class FindologicController extends UserAwareController implements KernelControllerEventInterface { public function onKernelControllerEvent(ControllerEvent $event): void { diff --git a/src/Controller/VoucherController.php b/src/Controller/VoucherController.php index cdf3f53f..09491f6d 100644 --- a/src/Controller/VoucherController.php +++ b/src/Controller/VoucherController.php @@ -17,8 +17,8 @@ namespace Pimcore\Bundle\EcommerceFrameworkBundle\Controller; use Pimcore\Bundle\EcommerceFrameworkBundle\VoucherService\TokenManager\ExportableTokenManagerInterface; -use Pimcore\Controller\FrontendController; use Pimcore\Controller\KernelControllerEventInterface; +use Pimcore\Controller\UserAwareController; use Pimcore\Model\DataObject; use Pimcore\Model\DataObject\Localizedfield; use Pimcore\Model\DataObject\OnlineShopVoucherSeries; @@ -37,7 +37,7 @@ * * @internal */ -class VoucherController extends FrontendController implements KernelControllerEventInterface +class VoucherController extends UserAwareController implements KernelControllerEventInterface { protected TokenStorageUserResolver $tokenResolver;