Breaking: #95132 - Set password forgot hash based on user uid in ext:felogin

See forge#95132

Description

The signature of the sendRecoveryEmail() function in the TYPO3\CMS\FrontendLogin\Service\RecoveryService has changed. The function now requires 2 arguments in order to support scenarios for multi-site TYPO3 setups with multiple storage folders for users with the same email address.

Additionally, the RecoveryService class now does not implement TYPO3\CMS\FrontendLogin\Service\RecoveryServiceInterface any more, since the interface has been removed.

Impact

3rd party extensions implementing RecoveryService have to be adapted manually to support the new function signature.

3rd party extensions implementing RecoveryServiceInterface have to be adapted manually to extend RecoveryService instead.

Affected installations

3rd party extensions implementing RecoveryService and RecoveryServiceInterface.

Migration

Custom implementations of RecoveryService must be adopted to support the new function signature sendRecoveryEmail(array $userData, string $hash).

Custom implementations of RecoveryServiceInterface must be adopted to extend RecoveryService instead.