Skip to content

Commit

Permalink
[BUGFIX] fix TYPO3 Exception: Too few arguments to function Aoe\Restl…
Browse files Browse the repository at this point in the history
…er\Controller\BeUserAuthenticationController::__construct()
  • Loading branch information
Jürgen Kußmann committed Nov 13, 2024
1 parent bdf728d commit 4b36add
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Classes/Controller/BeUserAuthenticationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@
use Luracast\Restler\iAuthenticate;
use Luracast\Restler\Restler;
use Luracast\Restler\Scope;
use TYPO3\CMS\Core\SingletonInterface;

/**
* This class checks, if client is allowed to access the requested and protected API-class
* This class checks, if BE-user is logged in
*/
class BeUserAuthenticationController implements iAuthenticate
class BeUserAuthenticationController implements iAuthenticate, SingletonInterface
{
/**
* This property defines (when it's set), that this controller should check authentication
Expand Down
3 changes: 2 additions & 1 deletion Classes/Controller/FeUserAuthenticationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@
use Luracast\Restler\iAuthenticate;
use Luracast\Restler\Restler;
use Luracast\Restler\Scope;
use TYPO3\CMS\Core\SingletonInterface;

/**
* This class checks, if client is allowed to access the requested and protected API-class
* This class checks, if FE-user is logged in
*/
class FeUserAuthenticationController implements iAuthenticate
class FeUserAuthenticationController implements iAuthenticate, SingletonInterface
{
/**
* This property defines (when it's set), the argument-name, which contains the pageId,
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'state' => 'stable',
'uploadfolder' => 0,
'clearCacheOnLoad' => 0,
'version' => '12.0.3',
'version' => '12.0.4',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-12.4.99'
Expand Down

0 comments on commit 4b36add

Please sign in to comment.