Deprecation: #100307 - Various hooks related to authentication users
See forge#100307
Description
The following hooks have been marked as deprecated:
$GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['t3lib/ class. t3lib_ userauth. php'] ['logoff_ pre_ processing'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['t3lib/ class. t3lib_ userauth. php'] ['logoff_ post_ processing'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['t3lib/ class. t3lib_ userauthgroup. php'] ['backend User Login']
They can be used to add notifications or actions to a TYPO3 installation after a frontend user or a backend user has actively logged in or logged out.
Impact
If one of the hooks is registered in a TYPO3 installation,
a PHP
E_
error is triggered when a user logs
in or logs out.
Affected installations
TYPO3 installations with custom extensions using one of these hooks.
The extension scanner detects any usage of the hooks.
Migration
Migrate to the newly introduced PSR-14 events:
\TYPO3\
CMS\ Core\ Authentication\ Event\ Before User Logout Event \TYPO3\
CMS\ Core\ Authentication\ Event\ After User Logged Out Event \TYPO3\
CMS\ Core\ Authentication\ Event\ After User Logged In Event