[FEATURE] Provide full userdata in password recovery email
Currently, the variables `receiverName`, `url` and `validUntil` are available in the template of the password recovery email. If more user related data is required in the recovery email, integrators have to use the PSR-14 event `SendRecoveryEmailEvent` to add additional variables to the email object. To simplify customization of the password recovery email for frontend users, this patch adds the new variable `userData` to the FluidEmail object, which contains all userdata of the affected frontend user. Resolves: #100268 Releases: main Signed-off-by:Torben Hansen <derhansen@gmail.com> Change-Id: I032f775e01003a5a276f8e2d0310925ea1592dc7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81605 Tested-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Documentation/Changelog/13.0/Feature-100268-ProvideFullUserdataInPasswordRecoveryEmail.rst 25 additions, 0 deletions...ure-100268-ProvideFullUserdataInPasswordRecoveryEmail.rst
- typo3/sysext/felogin/Classes/Domain/Repository/FrontendUserRepository.php 9 additions, 4 deletions...ogin/Classes/Domain/Repository/FrontendUserRepository.php
- typo3/sysext/felogin/Classes/Service/RecoveryService.php 3 additions, 2 deletionstypo3/sysext/felogin/Classes/Service/RecoveryService.php
- typo3/sysext/felogin/Tests/Unit/Service/RecoveryServiceTest.php 1 addition, 0 deletions...sysext/felogin/Tests/Unit/Service/RecoveryServiceTest.php
Please register or sign in to comment