File tree Expand file tree Collapse file tree 2 files changed +4
-39
lines changed Expand file tree Collapse file tree 2 files changed +4
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
namespace Ibexa \Contracts \AdminUi \Controller ;
10
10
11
11
use Ibexa \Contracts \Core \Repository \Values \Content \Location ;
12
+ use Ibexa \Contracts \User \Controller \AccessCheckController ;
13
+ use Ibexa \Contracts \User \Controller \AuthenticatedRememberedCheckTrait ;
12
14
use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
13
15
use Symfony \Component \HttpFoundation \RedirectResponse ;
14
16
15
- abstract class Controller extends AbstractController
17
+ abstract class Controller extends AbstractController implements AccessCheckController
16
18
{
17
- public function performAccessCheck (): void
18
- {
19
- $ this ->denyAccessUnlessGranted ('IS_AUTHENTICATED_REMEMBERED ' );
20
- }
19
+ use AuthenticatedRememberedCheckTrait;
21
20
22
21
public function redirectToLocation (Location $ location , string $ uriFragment = '' ): RedirectResponse
23
22
{
You can’t perform that action at this time.
0 commit comments