Issue Bug Under Review Orphaned

#99350Mail for reset password has broken logo if triggered by CLI

J. Peter M. Schuler 12/12/22, 23:40 updated 04/22/26, 06:33

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 of
@EXT: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
Bildschirm%C2%ADfoto%202022-12-13%20um%2000.38.28.png

Reviews 3

History 611

  1. J. Peter M. Schuler commented <span data-processor="relativetime" data-value="2022-12-12T23:57:37+00:00" > 12/12/22, 23:57 </span>

    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

  2. Patrick Lenk commented <span data-processor="relativetime" data-value="2026-02-02T11:15:11+00:00" > 02/02/26, 11:15 </span>

    Still happens in TYPO3 13.4.24 with default System Email Template “ValidatorTask” if the scheduler is executed via cli (cronjob).

  3. Patrick Lenk changed category priority Should have Must have TYPO3 Version 11 13 PHP Version 7.4 8.3 <span data-processor="relativetime" data-value="2026-02-09T12:09:38+00:00" > 02/09/26, 12:09 </span>