Skip to content

Commit

Permalink
[TASK] Make compatible with TYPO3 v10 LTS
Browse files Browse the repository at this point in the history
UsernamePasswordLoginProvider::SIGNAL_getPageRenderer
has (probably) been dropped by accident in:
https://review.typo3.org/c/Packages/TYPO3.CMS/+/62422/
See EXT:backend/Classes/LoginProvider/UsernamePasswordLoginProvider.php

Resolves FriendsOfTYPO3#1
  • Loading branch information
bnf committed Sep 8, 2020
1 parent 5c7de4c commit baa7d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/RsaAuthService.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function processLoginData(array &$loginData, $passwordTransmissionStrateg
*
* @return bool
*/
public function init()
public function init(): bool
{
return parent::init() && $this->getRsaEncryptionDecoder()->isAvailable();
}
Expand Down
2 changes: 1 addition & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class)->connect(
\TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider::class,
\TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider::SIGNAL_getPageRenderer,
'getPageRenderer',
\TYPO3\CMS\Rsaauth\Slot\UsernamePasswordProviderSlot::class,
'getPageRenderer'
);
Expand Down

0 comments on commit baa7d23

Please sign in to comment.