2 defined('TYPO3_MODE') or die();
4 // Register base authentication service
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility
::addService(
8 \TYPO3\CMS\Sv\AuthenticationService
::class,
10 'title' => 'User authentication',
11 'description' => 'Authentication with username/password.',
12 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE,processLoginDataBE,processLoginDataFE',
18 'className' => \TYPO3\CMS\Sv\AuthenticationService
::class
21 // Add hooks to the backend login form
22 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = \TYPO3\CMS\Sv\LoginFormHook
::class . '->getLoginFormTag';
23 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = \TYPO3\CMS\Sv\LoginFormHook
::class . '->getLoginScripts';