Skip to content

Commit

Permalink
replace with UserAwareController
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 committed Jan 8, 2024
1 parent d224c20 commit e7dce6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Controller/FindologicController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -29,7 +29,7 @@
*
* @internal
*/
class FindologicController extends FrontendController implements KernelControllerEventInterface
class FindologicController extends UserAwareController implements KernelControllerEventInterface
{
public function onKernelControllerEvent(ControllerEvent $event): void
{
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/VoucherController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -37,7 +37,7 @@
*
* @internal
*/
class VoucherController extends FrontendController implements KernelControllerEventInterface
class VoucherController extends UserAwareController implements KernelControllerEventInterface
{
protected TokenStorageUserResolver $tokenResolver;

Expand Down

0 comments on commit e7dce6b

Please sign in to comment.