diff --git a/typo3/sysext/felogin/Classes/Configuration/RecoveryConfiguration.php b/typo3/sysext/felogin/Classes/Configuration/RecoveryConfiguration.php index da67a16b5d1e..511fb7ee6447 100644 --- a/typo3/sysext/felogin/Classes/Configuration/RecoveryConfiguration.php +++ b/typo3/sysext/felogin/Classes/Configuration/RecoveryConfiguration.php @@ -22,7 +22,7 @@ use Symfony\Component\Mime\Address; use TYPO3\CMS\Core\Context\Context; use TYPO3\CMS\Core\Crypto\Random; -use TYPO3\CMS\Extbase\Configuration\ConfigurationManager; +use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; use TYPO3\CMS\Extbase\Security\Cryptography\HashService; use TYPO3\CMS\Fluid\View\TemplatePaths; @@ -42,11 +42,11 @@ class RecoveryConfiguration implements LoggerAwareInterface public function __construct( protected Context $context, - ConfigurationManager $configurationManager, + ConfigurationManagerInterface $configurationManager, Random $random, HashService $hashService ) { - $this->settings = $configurationManager->getConfiguration(ConfigurationManager::CONFIGURATION_TYPE_SETTINGS); + $this->settings = $configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS); $this->forgotHash = $this->getLifeTimeTimestamp() . '|' . $this->generateHash($random, $hashService); $this->resolveFromTypoScript(); } diff --git a/typo3/sysext/felogin/Classes/Service/RecoveryService.php b/typo3/sysext/felogin/Classes/Service/RecoveryService.php index cc84dcaddb43..2932f8073d4c 100644 --- a/typo3/sysext/felogin/Classes/Service/RecoveryService.php +++ b/typo3/sysext/felogin/Classes/Service/RecoveryService.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Mail\FluidEmail; use TYPO3\CMS\Core\Mail\MailerInterface; use TYPO3\CMS\Core\Utility\GeneralUtility; -use TYPO3\CMS\Extbase\Configuration\ConfigurationManager; +use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; use TYPO3\CMS\Extbase\Mvc\RequestInterface; use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder; use TYPO3\CMS\Extbase\Utility\LocalizationUtility; @@ -40,11 +40,11 @@ class RecoveryService public function __construct( protected readonly MailerInterface $mailer, protected EventDispatcherInterface $eventDispatcher, - ConfigurationManager $configurationManager, + ConfigurationManagerInterface $configurationManager, protected RecoveryConfiguration $recoveryConfiguration, protected UriBuilder $uriBuilder ) { - $this->settings = $configurationManager->getConfiguration(ConfigurationManager::CONFIGURATION_TYPE_SETTINGS); + $this->settings = $configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS); } /**