Issue Bug Closed

#106795SudoModeVerifyEvent Attribute "SensitiveParameter" cannot target property

Mirco Smolik 05/29/25, 18:34 updated 05/29/25, 20:13

Description

After upgrading to the latest version v12.4.32 I get the following fatal error in backend as well as frontend.

Fatal error: Attribute “SensitiveParameter” cannot target property (allowed targets: parameter) in …/vendor/typo3/cms-backend/Classes/Security/SudoMode/Event/SudoModeVerifyEvent.php on line 26

PHP 8.2

Problem seems to be this constructor method of the SudoModeVerifyEvent class

    public function __construct(
        readonly private AccessClaim $claim,
        #[\SensitiveParameter]
        readonly private string $password,
        readonly private bool $useInstallToolPassword,
    ) {}

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.