Bug #99350
openMail for reset password has broken logo if triggered by CLI
0%
Description
The cli command backend:resetpassword
expects two parameters the backend login URL and the email address.
The backend login URL is then used as a prefix to create the RESET PASSWORD link.
However the TYPO3 Logo which is taken from backend extension configuration is not prefixed with that URL, but rather the cli path, thus with a backend logo extension config ofEXT:mysitepackage/Resources/Public/Images/backend/provider.png
this results in a HTML mail image url of http://vendor/bin/typo3conf/ext/mysitepackage/Resources/Public/Images/backend/provider.png"
and thus a broken logo
Files
Updated by J. Peter M. Schuler almost 2 years ago
From the template it seems this rather is about all mails based on typo3/sysext/core/Resources/Private/Layouts/SystemMail.html
and the used variable {typo3.systemConfiguration.backend.loginLogo -> core:normalizedUrl()}
all usages of {normalizedParams.siteUrl}
create a correct URL
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77249
Updated by Rémy DANIEL almost 2 years ago
- Related to Bug #93940: Wrong path to backend login logo in system email added
Updated by J. Peter M. Schuler almost 2 years ago
- Related to Task #98343: Embed Mail logo into email added
Updated by Riccardo De Contardi 6 months ago
- Related to Bug #96063: custom Backend Login Logo within fileadmin breaks MAIL functionality added