Deprecation: #100278 - PostLoginFailureProcessing hook

See forge#100278

Description

The hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postLoginFailureProcessing'] which can be used to handle custom notifications that a login in a frontend or backend context failed, has been marked as deprecated.

Impact

If the hook is registered in a TYPO3 installation, a PHP E_USER_DEPRECATED error is triggered.

The extension scanner also detects any usage of the deprecated interface as a strong match, and the definition of the hook as a weak match.

Affected installations

TYPO3 installations with custom extensions using this hook.

Migration

Migrate to the newly introduced PSR-14 event \TYPO3\CMS\Core\Authentication\Event\LoginAttemptFailedEvent.